• 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: AudioDeviceIOProc not called after AudioDeviceStart
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioDeviceIOProc not called after AudioDeviceStart


  • Subject: Re: AudioDeviceIOProc not called after AudioDeviceStart
  • From: Ben Cox <email@hidden>
  • Date: Sat, 3 Apr 2004 09:27:37 -0500

On Apr 1, 2004, at 4:08 PM, Jeff Moore wrote:
question, but how are you judging whether or not your IOProc is getting
called?

By putting a print statement the first time it is called or by setting a
breakpoint and because I don't hear anything !
Using printf to stdout from the IO thread also requires that you fflush it too each time to be sure that it makes it out. I have seen cases where not doing that leads to printf's just getting swallowed.

Also, setting a breakpoint and having it not get hit is a relatively common occurrence in optimized code. You might have better luck initializing a static variable to 0 and then setting it to 1 when your IOProc is called, and then examining the variable later.

-- Ben

__
Ben Cox <email@hidden>
http://www.djehuti.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: AudioDeviceIOProc not called after AudioDeviceStart (From: Alain Mazy <email@hidden>)
 >Re: AudioDeviceIOProc not called after AudioDeviceStart (From: Jeff Moore <email@hidden>)

  • Prev by Date: RE: MIDI Lyrics
  • Next by Date: CoreAudio Swiki site problem
  • Previous by thread: Re: AudioDeviceIOProc not called after AudioDeviceStart
  • Next by thread: Re:AudioDeviceIOProc not called after AudioDeviceStart
  • Index(es):
    • Date
    • Thread