summaryrefslogtreecommitdiff
path: root/audio/sox
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
commit56a85eb4c2c1d2152261c140853756264328dd25 (patch)
treebb0ea456b0094489dd67b228e2fdcb6692ba1514 /audio/sox
parente735019767006db6500d78fa2d00235ac9b65f2e (diff)
downloadpkgsrc-56a85eb4c2c1d2152261c140853756264328dd25.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')
-rw-r--r--audio/sox/Makefile5
-rw-r--r--audio/sox/distinfo10
-rw-r--r--audio/sox/patches/patch-ab21
-rw-r--r--audio/sox/patches/patch-ac17
4 files changed, 6 insertions, 47 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile
index 291733be82e..9c240aa0815 100644
--- a/audio/sox/Makefile
+++ b/audio/sox/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2006/03/04 21:28:58 jlam Exp $
+# $NetBSD: Makefile,v 1.37 2006/04/04 18:19:13 wiz Exp $
-DISTNAME= sox-12.17.7
-PKGREVISION= 1
+DISTNAME= sox-12.17.9
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/} \
http://www.cnpbagwell.com/
diff --git a/audio/sox/distinfo b/audio/sox/distinfo
index 024661c8027..2e9a95b5eac 100644
--- a/audio/sox/distinfo
+++ b/audio/sox/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.10 2005/08/24 09:37:00 bjh21 Exp $
+$NetBSD: distinfo,v 1.11 2006/04/04 18:19:13 wiz Exp $
-SHA1 (sox-12.17.7.tar.gz) = 94fe3605f37bf2d6d3df93e8d462877d5e100fe3
-RMD160 (sox-12.17.7.tar.gz) = 602c111acca325a84e743794230977d652b82a51
-Size (sox-12.17.7.tar.gz) = 466570 bytes
+SHA1 (sox-12.17.9.tar.gz) = 1c20f73a38cc5dfe15102df0565c7f2cea7e0bd8
+RMD160 (sox-12.17.9.tar.gz) = 1ba76bf5329daafe75158757b7074f8385788353
+Size (sox-12.17.9.tar.gz) = 468174 bytes
SHA1 (patch-aa) = a1e3d17b0f674dd55405879337754c16846e5b03
-SHA1 (patch-ab) = fe1a21385ad79b7a5ca8e0c4e52af8105ef9e90d
-SHA1 (patch-ac) = 97f6cd271166b29a3f33f5fe03046d13bacb5771
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 */