[oss-devel] [PATCH] Add AIFF/AIFC support to ossplay

Yair K. cesium2 at gmail.com
Fri Feb 29 01:56:10 EET 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ossplay-aiff.diff.gz
Type: application/x-gzip
Size: 5940 bytes
Desc: not available
Url : http://mailman.opensound.com/pipermail/oss-devel/attachments/20080229/be28f54e/attachment.bin 


More information about the oss-devel mailing list