Hello
all,
I’m
new to Leopard development and found issues with capturing data directly from
the mic. My application creates an IOProc for the input device to use it
for capturing purposes so that I can feed it back to the output device which is
the sound system in this case.
So
the IOProc for capture has the following signature:
static OSStatus gviHardwareCaptureIOProc(AudioDeviceID
inDevice,
const AudioTimeStamp
* inNow,
const AudioBufferList
* inInputData,
const AudioTimeStamp
* inInputTime,
AudioBufferList * outOutputData,
const AudioTimeStamp
* inOutputTime,
void * inClientData)
How
can I tell if the device is in some kind of error state or why the parameter
inInputData does not have any data for me to capture?
Thanks,
------------------------
Saad
Nader
Middleware
Engineer
Powered
By Gamespy
www.poweredbygamespy.com