Re: CDDA and AIFF again
Re: CDDA and AIFF again
- Subject: Re: CDDA and AIFF again
- From: Jeff Moore <email@hidden>
- Date: Thu, 07 Feb 2002 12:31:52 -0800
on 2/7/02 11:46 AM, Lubor Prikryl <email@hidden> wrote:
>
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.
>
>
My questions:
>
>
1) Did I miss something? - the sound is full of noise for CDDA, such as
>
the one with incorrectly placed bits
Weird. I just finished some code that plays around with cd audio files, and
things all worked out ok for me. Perhaps there's something amiss with your
parsing code?
>
2) There is a macro in endian.h for swapping of bytes. Why isn't there a
>
function in CoreAudio, performing the action for whole block by much
>
more effective PPC instructions?
<AudioToolbox/AudioConverter.h>
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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.