• 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
Re: AudioQueueNewOutput and the runloop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioQueueNewOutput and the runloop


  • Subject: Re: AudioQueueNewOutput and the runloop
  • From: Bill Phillips <email@hidden>
  • Date: Wed, 14 Nov 2012 10:43:04 -0500

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.


On Wed, Nov 14, 2012 at 10:31 AM, patrick machielse <email@hidden> wrote:
Op 9 nov. 2012, om 12:42 heeft Irradiated <email@hidden> het volgende geschreven:

> I believe you can pass a NULL in for the run loop modes and it will do its own thread management:
> AudioQueueNewOutput( &mDataFormat, UKSoundAQBufferCallback, self, NULL, NULL, 0, &mQueue );

That's what we tried initially.

It doesn't seem to matter if we let the queue handle its wown thread, if we supply a thread / runloop, or if we use IORemote directly instead of an AudioQueue to drive our audio processing. There seems to be some kind of issue using AVAssetReader in conjunction with playback.

https://devforums.apple.com/thread/172101

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

 _______________________________________________
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

  • Follow-Ups:
    • Re: AudioQueueNewOutput and the runloop
      • From: patrick machielse <email@hidden>
    • Re: AudioQueueNewOutput and the runloop
      • From: Bill Phillips <email@hidden>
References: 
 >Re: AudioQueueNewOutput and the runloop (From: patrick machielse <email@hidden>)

  • Prev by Date: Re: AudioQueueNewOutput and the runloop
  • Next by Date: Re: AudioQueueNewOutput and the runloop
  • Previous by thread: Re: AudioQueueNewOutput and the runloop
  • Next by thread: Re: AudioQueueNewOutput and the runloop
  • Index(es):
    • Date
    • Thread