CDDA and AIFF again
CDDA and AIFF again
- Subject: CDDA and AIFF again
- From: Lubor Prikryl <email@hidden>
- Date: Thu, 7 Feb 2002 20:46:18 +0100
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.
My questions:
1) Did I miss something? - the sound is full of noise for CDDA, such as
the one with incorrectly placed bits
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?
Thanks&Regards
Lubor, DSound1.com
On Tuesday, January 8, 2002, at 07:40 PM, Jeff Moore wrote:
on 1/8/02 9:43 AM, David Shaffer <email@hidden> wrote:
Are there any APIs to convert a CDDA file to AIFF?
Are there any docs on the CDDA file structure?
These files are already AIFC files. The reason they are AIFC is that the
data is little endian. The reason for the .cdda extension is so that
iTunes
can claim the files by default rather than QTPlayer.
--
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.
_______________________________________________
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.