Re: AudioDeviceIOProc not called after AudioDeviceStart
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.