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: "Saad Nader" <email@hidden>
- Date: Wed, 24 Sep 2008 14:42:38 -0700
- Thread-topic: No mic audio coming in on Leopard
Actually it is getting but with all zeros for input data. So the device
IOProc gets added successfully and gets started but data is available in
the proc.
Thanks,
------------------------
Saad Nader
Middleware Engineer
Powered By Gamespy
www.poweredbygamespy.com
-----Original Message-----
From: coreaudio-api-bounces+snader=email@hidden
[mailto:coreaudio-api-bounces+snader=email@hidden] On
Behalf Of Jeff Moore
Sent: Wednesday, September 24, 2008 1:44 PM
To: CoreAudio API
Subject: Re: No mic audio coming in on Leopard
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:
m
This email sent to email@hidden
_______________________________________________
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