shithub: sox

Download patch

ref: 98f4a45ea75c469c26353db4a2f1d6e41b92ee5c
parent: 8a98c46a1fce477cdd0ddf0f17938d01702a0d8f
author: robs <robs>
date: Sat Dec 20 11:31:57 EST 2008

updates for recent changes

--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,8 @@
 
   o Slight improvement to A-law/u-law conversion accuracy: round LSB
     instead of truncating.  (robs)
+  o New `--ignore-length' option to ignore length in input file
+    header (for simple encodings); instead, read to end of file.  (robs)
   o Fix [2028181] w64 float format incompatibility.  (Tim Munro)
   o Fix reading AIFF files with pad bytes in COMT chunks. (Joe Holt)
   o Fix AIFF file length bug to stop reading trash data on files that
@@ -21,6 +23,7 @@
     have extra chunks at end of file. (Joe Holt)
   o Fix file length being 4 bytes short for AIFF sowt CD tracks. (Joe Holt)
   o Fix [2404566] segfault when converting from MS ADPCM wav file.  (robs)
+  o Fix slight FLAC seek inaccuracy e.g. when using `trim' effect.  (robs)
 
 Effects:
 
@@ -33,7 +36,7 @@
   o Fix temporary file problems in Windows (cygwin) with normalise and
     other effects.  (robs)
   o Parallel effects channel processing on some hyper-threading/mult-core
-    architectures.  (robs)
+    architectures.  New `--single-threaded' option to disable this.  (robs)
 
 Other new features:
 
--- a/sox.1
+++ b/sox.1
@@ -787,6 +787,9 @@
 .TP
 \fB\-\-version\fR
 Show SoX's version number and exit.
+.TP
+\fB\-\-single-threaded\fR
+Disable parallel effects channel processing (where supported).
 .IP \fB\-V\fB[\fIlevel\fB]\fP
 Set verbosity.
 SoX displays messages on the console (stderr) according to the following
@@ -827,6 +830,11 @@
 These options apply only to input files and may precede only input
 filenames on the command line.
 .TP
+\fB\-\-ignore-length\fR
+Override an (incorrect) audio length given in an audio file's header; if
+this option is given, then SoX will keep reading audio until it reaches
+the end of the input file.
+.TP
 \fB\-v\fR, \fB\-\-volume\fR \fIFACTOR\fR
 Adjust volume by a factor of \fIFACTOR\fR.
 This is a linear (amplitude) adjustment, so a number less than 1
@@ -834,11 +842,12 @@
 is given, then in addition to the volume adjustment, the audio signal
 will be inverted.
 .SP
-See also the \fBstat\fR effect for information on how to find
-the maximum volume of an audio file; this can be used to help select
-suitable values for this option.
-.SP
-See also \fBInput File Balancing\fR above.
+See also the \fBstat\fR (with \dB\-v\fR),
+.BR norm ,
+.BR vol ,
+and
+.B gain
+effects; and see \fBInput File Balancing\fR above.
 .SS Input & Output File Format Options
 These options apply to the input or output file whose name they
 immediately precede on the command line and are used mainly when