Re: CDDA and AIFF again
Re: CDDA and AIFF again
- Subject: Re: CDDA and AIFF again
- From: Lubor Prikryl <email@hidden>
- Date: Sun, 10 Feb 2002 22:17:46 +0100
Thanks, Jeff and Bill,
now the conversion behaves properly. I am dealing with HAL, because I
develop a VST effect engine, not only player.
Maybe it would be important to know what you genarally suggest for async
file reading in OS X for audio purposes.
PB async reads are done during interrupts in OS 9. In X, there is a
possibility to implement async reads as a new preemptive thread, which
is probably true for PB based calls in X(?). I didn't debug it yet.
Is the PB async file access the best solution for OS X audio (e.g.
PBReadForkAsync)?
Regards
Lubor
On Friday, February 8, 2002, at 08:35 AM, Bill Stewart wrote:
Rather than dealing with the HAL directly, you might want to look at
using
the Default output unit. Two different ways of using it can be found on
your
Developer CD:
/Developer/Examples/CoreAudio/Services
Bill
on 7/2/02 11:46 AM, 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.
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.
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"We'll talk about it later...."
"When?"
"In a future life when we're both cats"
__________________________________________________________________________
_______________________________________________
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.