Re: Question about the AudioConverterFillComplexBuffer callback function
Re: Question about the AudioConverterFillComplexBuffer callback function
- Subject: Re: Question about the AudioConverterFillComplexBuffer callback function
- From: Fredrik <email@hidden>
- Date: Wed, 12 May 2010 20:55:57 +0200
I managed to get a file out of it to test but AudioConverterFillComplexBuffer returns an error. The output format is 12 bits and 26040 hz linear pcm, little endian, so I used CAF with allign high.
With the align high flag, is it correct that the bits would be represented like this for little endian 12 bits? (starting with LSB)
1111 0000 1111 1111
I tried to print out part of the file in the terminal, reading into unsigned shorts and then AND each sample with 15. This returned nothing but zero so it seems to be 12 bits.
I did not use a loop around AudioConverterFillComplexBuffer but did everything in one go.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden