1TODO: 2==== 3 4*) tidy up getopt issues - distribute GNU getopt with wav2cdr and make it 5 default; give option for mygetopt 6 7*) For 8 wav2cdr -r Krebspolka.wav -w Krebspolka.cdr 9 the output filename should be Krebspolka.cdr, not Krebspolka.cdr.%02d 10 (i.e. when no cutting is active) 11 To get a filename with %0d, use "--cut 0 0" 12 However, to get a filename without %02d now, use output redirection. 13 14*) When data is read from file and cutting is active, seek operations should be 15used for cutting because, depending on how much is cut out, it will be 16considerably faster. 17 18*) Output total bytes read. 19 20*) Operate on more than 1 file, if given on command line. This does not work 21with all operations (--cut) but does with others (--silenceinfo). All 22initialised static variables need to be abolished - the result has to look 23pretty similar to a shared library. 24This could afterall make sense with --cut anyway. Resulting filenames to be 25decided upon - overwrite existing file (by creating new, then renaming)? 26 27 28Ideas: 29===== 30 31Store raw data in files which have an extension denoting the endianness. For 32example, extensions .rawbig and .rawlittle (or .rwb, .rwl on less capable 33systems). The extension can then be used as information on the byte order in 34the file when reading it again - this would make errors less likely. 35 36When cutting, specify a cut to be discarded. This would avoid storing silent 37intervals between actual tracks. 38What syntax to use for this?? 39 40Display seconds in --silenceinfo rounded instead of truncated. 41MANUAL: ARE SECONDS NOW DISPLAYED ROUNDED ELSEWHERE??? 42