• 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: AudioQueueDispose delay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioQueueDispose delay


  • Subject: Re: AudioQueueDispose delay
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 22 Jul 2015 20:39:36 +0000

On Jul 22, 2015, at 06:57 , Umut Can Genlik <email@hidden> wrote:
>
> According to documentation
> err = AudioQueueDispose(queue, true);
> I use true so dispose of AudioQueue happens immediately, although it does
> dispose queue immediately sometimes , other times it has delay 3-4 seconds
> up to 13 seconds on the device. err = AudioQueueStop(queue, true) has the
> same problem as well.

a. *What* doesn’t happen for 3-4 seconds? Return of the rest of the buffers? Playback?

b. If you’re going to do something else with audio afterwards, I suppose you’ll create a new queue. Does it matter that the old one is hanging around?

c. I *strongly* recommend you switch over to AVFoundation if you possibly can. Audio Queue Services, or whatever that framework is called, hasn’t really been updated since AVFoundation appeared, and it’s always been quirky.

Unfortunately, there’ll likely be some app re-architecting to use AVFoundation, but I’d suggest that it’s worth the effort.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: AudioQueueDispose delay
      • From: Umut Can Genlik <email@hidden>
References: 
 >AudioQueueDispose delay (From: Umut Can Genlik <email@hidden>)

  • Prev by Date: Re: Can I show different content in different screens? (screensaver)
  • Next by Date: Re: AudioQueueDispose delay
  • Previous by thread: AudioQueueDispose delay
  • Next by thread: Re: AudioQueueDispose delay
  • Index(es):
    • Date
    • Thread