Re: AudioQueueNewOutput and the runloop
Re: AudioQueueNewOutput and the runloop
- Subject: Re: AudioQueueNewOutput and the runloop
- From: patrick machielse <email@hidden>
- Date: Wed, 14 Nov 2012 17:01:24 +0100
Op 14 nov. 2012, om 16:43 heeft Bill Phillips <email@hidden> het volgende geschreven:
> Patrick,
>
> Have you tried performing *all* operations with that AVAsset on the same thread? I experienced hangs in this scenario when passing an AVAsset back and forth between a couple of threads, and locking everything on a single background thread fixed everything.
>
> I did not specify a runloop for my AudioQueue, however, so it may be that it is actually all the setup code that has threading issues.
I've not tried creating and configuring the AVAssetReader on the audio thread (probably because it seems like a bad idea, although I'm certainly willing to try bad ideas to solve this issue!).
What I _have_ tried (in a similar vein) is calling -[AVAssetReader startReading] on the audio thread. That alone did not solve this issue.
p.
_______________________________________________
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