summaryrefslogtreecommitdiff
path: root/audio/sox/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-04-04 18:19:13 +0000
committerwiz <wiz@pkgsrc.org>2006-04-04 18:19:13 +0000
commit5e9ea1f573d2d2ff1b4997c881740a534776da4d (patch)
treebb0ea456b0094489dd67b228e2fdcb6692ba1514 /audio/sox/patches
parent933a4f33ad5a6a4f3396fb84a7d2f3b910945734 (diff)
downloadpkgsrc-5e9ea1f573d2d2ff1b4997c881740a534776da4d.tar.gz
Update to 12.17.9:
sox-12.17.9 ----------- o Updates to compile under VC6. Jimen Ching o Declare st_signalinfo_t to specifically be signed in case platform does not default ot signed chars. This is required for NetBSD/powerpc. o When seek()ing in AIFF, SMP, and WAV handlers, remaining samples were incorrectly computed based on bytes and not samples. Jukka o Changed noisered effect to just warn during clipping instead of aborting. Ian Turner o Fixed bug were pieces of audio were lost every buffer read when running both -c and -r options together on mono audio. Users probably percieved it as shorter audio files that played with a sped up tempo. Bugfix will also apply to other times when multiple effects are ran on the command line. o Added support for -V option to play/rec scripts. o Fix to silence effect to allow negative periods to be specified (to remove silence from middle of sound file). o Fix swap option handling so that special case of "swap 1 1" will work. o Track length of Ogg Vorbis files on read. o Add support for displaying a status line that tracks progress of read/write routines. Part of information requires read file handlers to be able to determine file length. o Converted alsa driver to use asoundlib instead of directly talking to kernel driver. This also means that device names are now the ALSA logical names instead of /dev type names. o Added ALSA support to play/rec scripts. o Added st_open*, st_read, st_write, st_seek, st_close routines to help simplify developer interface to libst. See libst.3.. o Removed st_initformat(), st_copyformat(), and st_checkformat() from library. If your app used those functions then copy them from 12.17.8 source code directly into your application or update to use new routines. o Force word-alignment on AIFF SSND and APPL chunks on input. Matthew Hodgson. o Add fix to WAV handler to only return data in multiples of sample_size*channels to better handle corrupt files. o Fixed bug where "-4" option didn't work with avg effect (Tom Christie). o Fixed fade's fade-out-length to match man page description as noted by Geoff Kuenning. This required updates to the sample crossfade scripts. Also modified fade effect to report when no more samples will be produced to prevent unneeded reading of whole file. o Allow aborting SoX with SIGTERM, along with previous SIGINT. Norman Ramsey. sox-12.17.8 ----------- o noisered effect had compile problems with some compilers. o "-x" option was being ignored since 12.17.7. o Stuart Brady added support for reading and writing RIFX files (big endian RIFF/WAV files). Also added support for auto detecting DEC-style ".sd\0" files. o Gene Mar found typo in polyphase nuttall calculation. o SMP buffer overflow (detected by gcc 4.0). Reported by Marcus Meissner and Matthias Saou. o Fixed URL in manpage to resample overviews. o Fixed WAV handler so that it didn't think WAV chunks with max size were invalid chunks. This allows WAV's to be used in pipes since they have to default to max size. o WAV files with alaw or ulaw data don't need extended format chunks. (Lars Immisch) o In AIFF files, fixed problem were short comments should cause AIFF handler to get confused and become misaligned.
Diffstat (limited to 'audio/sox/patches')
-rw-r--r--audio/sox/patches/patch-ab21
-rw-r--r--audio/sox/patches/patch-ac17
2 files changed, 0 insertions, 38 deletions
diff --git a/audio/sox/patches/patch-ab b/audio/sox/patches/patch-ab
deleted file mode 100644
index 14a7fd4c62d..00000000000
--- a/audio/sox/patches/patch-ab
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.8 2005/07/09 16:05:16 kristerw Exp $
-
---- src/noisered.c.orig Sat Jul 9 18:01:23 2005
-+++ src/noisered.c Sat Jul 9 18:01:52 2005
-@@ -126,6 +126,7 @@
- * due to overlapping windows. */
- static void reduce_noise(chandata_t* chan, float* window, float level)
- {
-+ int i;
- float *inr = (float*)calloc(WINDOWSIZE, sizeof(float));
- float *ini = (float*)calloc(WINDOWSIZE, sizeof(float));
- float *outr = (float*)calloc(WINDOWSIZE, sizeof(float));
-@@ -135,8 +136,6 @@
- static int callnum = 0;
-
- callnum ++;
--
-- int i;
-
- for (i = 0; i < FREQCOUNT; i ++) {
- assert(smoothing[i] >= 0 && smoothing[i] <= 1);
diff --git a/audio/sox/patches/patch-ac b/audio/sox/patches/patch-ac
deleted file mode 100644
index 2767835b7c5..00000000000
--- a/audio/sox/patches/patch-ac
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ac,v 1.7 2005/08/24 08:30:28 bjh21 Exp $
-
---- src/st.h~ Mon Dec 20 19:48:54 2004
-+++ src/st.h Sun Aug 7 13:27:21 2005
-@@ -68,9 +68,9 @@
- typedef struct st_signalinfo
- {
- st_rate_t rate; /* sampling rate */
-- char size; /* word length of data */
-- char encoding; /* format of sample numbers */
-- char channels; /* number of sound channels */
-+ signed char size; /* word length of data */
-+ signed char encoding; /* format of sample numbers */
-+ signed char channels; /* number of sound channels */
- } st_signalinfo_t;
-
- /* Loop parameters */