Hi, The attached patch includes the following changes:
A) Sending SIGQUIT to ossplay (This can be done with 'Ctrl-\' on most terminals) will make it skip to the next file. This is inspired by mpg123, which uses SIGINT instead (which works just as well, but generates spurious bug reports from users which are used to aborting programs with 'Ctrl-C'). B) -s, -c, -b will force speed/channel/format for the current song(s) even if its format is recognized. This is more in line with typical usage by programs of this type and more useful in general. (I haven't yet clearified the bits/format confusion for -b, though). C) VOC decoder improved. In particular, support for Creative 8-bit ADPCM decoding is added**. vmix distorts 8-bit output for me, but testing with softoss shows decent results. ** based on http://wiki.multimedia.cx/index.php?title=Creative_8_bits_ADPCM D) Other misc changes. Staticize all global variables, style changes in play_iff, add some notes to man page, change autodetection a bit. It relies on the previously posted -wav patch (not yet in hg), and fixes one regression in that patch (24 bit wave files had issues - 24 is now mapped to AFMT_S32 in BITS2SFORMAT which fixes this). Yours, Yair K.
ossplay-voc.diff.gz
Description: GNU Zip compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel