On Jul 22, 2015, at 06:57 , Umut Can Genlik <[email protected]> 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 protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
