Re: iPhone microphone level metering using kAudioUnitType_Mixer?
Re: iPhone microphone level metering using kAudioUnitType_Mixer?
- Subject: Re: iPhone microphone level metering using kAudioUnitType_Mixer?
- From: Aran Mulholland <email@hidden>
- Date: Tue, 11 Jan 2011 12:02:11 +1100
have you turned on the metering?
On Tue, Jan 11, 2011 at 11:44 AM, Shaun Guth
<email@hidden> wrote:
I might just be really tired...
Is it possible to use the Mixer Audio Unit to meter the input level from the iPhone microphone? I have an AUGraph that initializes properly:
AudioUnitGraph 0x7626000:
Member Nodes:
node 1: 'auou' 'vpio' 'appl', instance 0x5604040 O
node 2: 'aumx' 'mcmx' 'appl', instance 0x5606450 O
Connections:
node 1 bus 1 => node 2 bus 0 [ 1 ch, 8000 Hz, 'lpcm' (0x0000000C) 16-bit little-endian signed integer]
I'm trying to meter the input level from the microphone by connecting my I/O unit to the mixer unit and then querying kMultiChannelMixerParam_PreAveragePower
As it's running though, I'm only getting values of -120.0 -- this is on the iPhone simulator. I do have a mic hooked up, and I see that it's receiving input in the system preferences.
-- Shaun
_______________________________________________
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
_______________________________________________
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