• 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: ... not sure if this is a KVO or a Core Audio problem with my code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ... not sure if this is a KVO or a Core Audio problem with my code


  • Subject: Re: ... not sure if this is a KVO or a Core Audio problem with my code
  • From: Doug Wyatt <email@hidden>
  • Date: Thu, 4 Dec 2008 10:44:14 -0800

I have no idea about the KVO aspects of this, but AudioQueueStop is waiting on a condition that becomes true when all of the enqueued buffers have been released back to the client via the buffer callback. What thread services the buffer callbacks? Is it blocked?

On Nov 28, 2008, at 6:48 , John Zorko wrote:
#0 0x31467b18 in semaphore_timedwait_signal_trap ()
#1 0x3145e984 in semaphore_timedwait_signal ()
#2 0x3145b104 in _pthread_cond_wait ()
#3 0x3145b260 in pthread_cond_timedwait_relative_np ()
#4 0x348cbd58 in CAGuard::WaitFor ()
#5 0x34909954 in ClientAudioQueue::ServicePendingCallbacks ()
#6 0x34909ab8 in AudioQueueStop ()
#7 0x00014334 in -[AudioStreamer stop] (self=0x895800, _cmd=0x3018cc44) at /Users/jmzorko/work/root/Magnatune/Classes/ AudioStreamer.m:529
#8 0x00003566 in -[MagnatuneAppDelegate stopStream] (self=0x11cc40, _cmd=0x18694) at /Users/jmzorko/work/root/Magnatune/Classes/ MagnatuneAppDelegate.m:237
#9 0x0000f8d2 in -[SongController tableView:didSelectRowAtIndexPath:] (self=0x12e4c0, _cmd=0x300f1a90, tableView=0x186080, indexPath=0x1491a0) at /Users/jmzorko/work/root/ Magnatune/Classes/SongController.m:212

_______________________________________________ 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
  • Prev by Date: low-pass filter on the iphone
  • Next by Date: amplitude meter from mp3 data chunk?
  • Previous by thread: Re: low-pass filter on the iphone
  • Next by thread: amplitude meter from mp3 data chunk?
  • Index(es):
    • Date
    • Thread