Re: Play from Audio CD
Re: Play from Audio CD
- Subject: Re: Play from Audio CD
- From: Paul Davis <email@hidden>
- Date: Fri, 11 Jun 2010 11:42:52 -0400
On Fri, Jun 11, 2010 at 11:24 AM, John Johnson
<email@hidden> wrote:
>> ExtAudioFile definitely does not support simultaneous reading and writing.
>>
>> AudioFile does, I believe.
>
> OK, so it looks like the process is going to go a bit like this:
> Rip some audio data from the disc.
> Convert the audio data using a converter.
> Write the audio data to a file using AudioFileWriteBytes (or callbacks??).
> In a separate thread that will be playing the data, use AudioFileReadBytes (or callbacks??) to read the data from the file.
except that its entirely possible that the header of the file being
written is not updated during the writes, and thus reading from it
using a "regular" API will fail. this would need to be checked first.
_______________________________________________
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