• 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: 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

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