Re: No mic audio coming in on Leopard
Re: No mic audio coming in on Leopard
- Subject: Re: No mic audio coming in on Leopard
- From: Jeff Moore <email@hidden>
- Date: Wed, 24 Sep 2008 13:43:53 -0700
I need more context about what you are doing and what you expect to
happen before I can answer your questions. For example, you don't say
if it is the case that your IOProc is just not getting called or if it
is getting called by the data is all zeros.
It would also be helpful to know something about what AudioDevice you
are using.
On Sep 24, 2008, at 1:22 PM, Saad Nader wrote:
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?
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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