Re: CDDA and AIFF again
Re: CDDA and AIFF again
- Subject: Re: CDDA and AIFF again
- From: marquis logan <email@hidden>
- Date: Sat, 9 Feb 2002 20:32:37 -0500
On Thursday, February 7, 2002, at 02:46 PM, Lubor Prikryl wrote:
Hi,
I tried to play the CDDA file double-buffering the data, converting
from SInt16 to Float32 and filling HAL output buffers, which works
correctly with AIFF. I swapped the hi and lo byte of each SInt16
(casting to unsigned, of course) when reading 'sowt' format from CD.
you might try using the audio converter api and let that handle the byte
swapping stuff. it worked well for me using both the hal and the
default output unit + an audio converter.
my one question would be what's the safest/cleanest way to stop it after
the track is done. is there a way to tell the hal or dou "stop after
this buffer" or "stop after xxx samples". i generally pass back a
couple empty buffers and then signal another thread to stop them.
nibs
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.