Hi, The attached patch to ossplay: 1. Adds AIFF/AIFC format support. 2. Declares prototypes to all functions. 3. Misc. changes.
Notes: 1. ossplay has a -b switch, which is supposed to "Select the number of bits/sample". In reality, it selects the format (so -b32 will select AFMT_S16_BE). I'm not entirely sure what's the proper solution. 2. AIFF format uses an 80-bit float to store sample rate value. Whomever is responsible for this abomination should be burnt at the stake. Yours, Yair K.
ossplay-aiff.diff.gz
Description: GNU Zip compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel