• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Best approach for audiofile reader worker thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 00:12:13 +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


  • Prev by Date: Audio Unit level metering oniPhone
  • Next by Date: Best approach for audiofile reader worker thread
  • Previous by thread: Re: Audio Unit level metering oniPhone
  • Next by thread: Best approach for audiofile reader worker thread
  • Index(es):
    • Date
    • Thread