shithub: sox

Download patch

ref: 4b2ef597e4d4f5e7f05045e55db76dd4fabbe7f5
parent: 8284ec8c87352c941cbf410978ab5d571c961467
author: cbagwell <cbagwell>
date: Tue Aug 24 18:02:03 EDT 2004

Added some TODO items

--- a/TODO
+++ b/TODO
@@ -1,6 +1,60 @@
 People are encouraged to pick some of these and implement it.  Send
 all patches to cbagwell@users.sourceforge.net.
 
+  o Document how to play to audio device in man pages.
+
+  o Fix comment memory leaks and other issues.
+
+  o Use valgrind and fix reported errors.
+
+  o Have sox.c auto remove an resample effects when rates are the same
+    (allows scripts to be dumper).
+
+  o Add MP3 support to WAV handler. Can copy most work from mp3.c.
+
+  o Allow to trim beginning of audio file using file handler's
+    seek() function to speed up operation.  Not sure if
+    it should be done with command line option or intercepting
+    the "trim" effect.
+
+  o Document how the synth effect is meant to be used (with nul file
+    handler).
+
+  o Fixe warnings generated by gcc's -W option (not -Wall).
+
+  o Implement FLAC (http://flac.sf.net) and speex (http://www.speex.org).
+  
+  o Support 24-bit formats... Difficult because sometimes that means
+    24-bits in a 32-bit integer and sometimes it means packed 24-bits
+    (read 3-bytes at a time).
+
+  o Modify .dat handler to support stereo data... Probably should remove
+    time offset column since its not real useful (could be added by
+    a simple post-processor).  Also, should store information in
+    header related to original data so that it can be converted back
+    to similar percision easier.  Another idea is to normalize the
+    data relative to original percision to reduce value ranges
+    (might result in a smaller text file since percision will
+    be smaller).
+
+  o Detect support for -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE
+    and auto add to CFLAGS so that large files can be accessed.
+
+  o Don't force -no-cygwin under cygwin since it now contains
+    support for /dev/dsp. Some people might want to use that
+    to play audio files under windows.
+
+  o Add command line options that specify a specific endian
+    (as apposed to -x which just reverses it from current
+    machines endian).  This would be useful for cdr.c
+    since some formats like to keep the data in little-endien
+    (CDDA?).
+
+  o Add alias -1 (for -b), -2 (for -w), -4 (for -d).
+
+  o Add a fifo/buffer to audio drivers to prevent losing audio data.
+    Perhaps mpg123 could be used as an example.
+
   o Add new PRC format in to auto.c
 
   o Still passing some options using CFLAGS instead of stconfig.h.
@@ -7,7 +61,7 @@
 
   o Lots of effects are using "double" to prevent overflow of
     st_sample_t math.  With ststdint.h we now have a portable way
-    of detecting uin64_t...  Use that when possible to speed up
+    of detecting uint64_t...  Use that when possible to speed up
     math (won't have to convert back and forth from int to float).
 
   o Several files are using hard-coded #'s instead of ST_SAMPLE_MIN/MAX.