ExtAudioFile threading
ExtAudioFile threading
- Subject: ExtAudioFile threading
- From: Dominic Feira <email@hidden>
- Date: Wed, 3 Jun 2009 17:15:37 -0400
I'd just like some quick clarification on the multi-thread limitations
of ExtAudioFile. I realize that I shouldn't call ExtAudioFileRead
concurrently on multiple threads. However...
1. Is it safe to create the ExtAudioFile on thread A, but then later
read from thread B?
2. Is it safe to use ExtAudioFileSeek on thread A, but then later
read form thread B?
3. Is it safe to call ExtAudioFileRead on thread A and later
ExtAudioFileRead on thread B as long as thread A and B aren't
concurrent?
Or should *all* access to the ExtAudioFile, including opening, be on
one thread? If I later need to access from another thread, should I
open another ExtAudioFile?
I'm running into some weird issues and I want to make sure that the
threading is handled correctly.
Dominic Feira / Code Monkey / Ambrosia Software, Inc. -- http://www.AmbrosiaSW.com
_______________________________________________
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