Hi, This patch changes the "-b" option (select input bits) to "-f" (select input format). The new "-f" option works like "-o". -f? shows available format names, and -f<fmtname> forces using that format (e.g. -fU8). Another change is that when the device doesn't support the needed format (e.g. A-law), ossplay may try to fallback to a supported format (e.g. signed 16-bits) and convert the input to that. This of course only happens when ossplay knows of a way to convert the format. Lastly, when an input format is forced, the parser won't abort if it doesn't recognize the encoding in the file header.
Yours, Yair K.
ossplay-forceformat.diff.gz
Description: GNU Zip compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel