shithub: sox

Download patch

ref: 8556fb693a23045c30ab6b7bf3949d3adc0cec46
parent: 58f37f1e4acc5ba8e1ff483d4ddf32b9ce7dbd3d
author: rrt <rrt>
date: Sun Jan 21 14:02:42 EST 2007

Make seekable an st_bool as it should be.

--- a/src/st.h
+++ b/src/st.h
@@ -274,10 +274,9 @@
     st_signalinfo_t signal;               /* signal specifications */
     st_instrinfo_t  instr;                /* instrument specification */
     st_loopinfo_t   loops[ST_MAX_NLOOPS]; /* Looping specification */
-    char            seekable;             /* can seek on this file */
+    st_bool         seekable;             /* can seek on this file */
     char            mode;                 /* read or write mode */
-    /* Total samples per channel of file.  Zero if unknown. */
-    st_size_t       length;    
+    st_size_t       length;               /* frames in file, or 0 if unknown. */
     st_size_t       clips;                /* increment if clipping occurs */
     char            *filename;            /* file name */
     char            *filetype;            /* type of file */