Best approach for audiofile reader worker thread
Best approach for audiofile reader worker thread
- Subject: Best approach for audiofile reader worker thread
- From: Mark's Studio <email@hidden>
- Date: Sun, 19 Apr 2009 10:20:29 +0200
What is the best approach for setting up a audiofile reader worker
thread on the iPhone?
I need to read several files, so far it's been fine just reading them
with ExtAudioFileRead() in the render callback (small files, linear
PCM no conversion) and not on every callback,
but i also want to read some big files, and now it starts to block the
callback and i get dropouts.
So i would like to setup a worker thread with a ringbuffer
I found the the CAAudioFileReader but i could not find an easy example
of how to use it,
the other one is the old PlayBufferedSoundFile very simple but it's in
objC don't know if that has to much overhead.
Thanks
Peter Mark
Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078
Fax: +45 35366038
Mobile: +45 20416018
www.marks-studio.dk
email@hidden
_______________________________________________
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