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

Hannu Savolainen hannu at opensound.com
Fri Feb 29 03:12:16 EET 2008


Yair K. kirjoitti:
> Hi,
>
>   The attached patch to ossplay: 
>      1. Adds AIFF/AIFC format support.
>      2. Declares prototypes to all functions.
>      3. Misc. changes.
>
>   
Many thanks. Will appear in the hg version soon.
>  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.
>   
Right. This is bit misleading.
>    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.
>   
Agreed.

Best regards,

Hannu


More information about the oss-devel mailing list