Re: kStereoMixerParam_PreAveragePower
Re: kStereoMixerParam_PreAveragePower
- Subject: Re: kStereoMixerParam_PreAveragePower
- From: Dominic Feira <email@hidden>
- Date: Thu, 17 Feb 2005 22:00:26 -0500
Yes. The audio is going through the mixer and is put into a ring
buffer. From there it is encoded and saved to a file. All of the
audio comes through mixed as expected.
The mixer is in an AUGraph. I get the AudioUnit for the mixer node
with:
AUGraphGetNodeInfo(mVOGraph, mixerNode, NULL, NULL, NULL, &mixerUnit);
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
On Feb 17, 2005, at 3:05 PM, email@hidden
wrote:
Dominic, when you are getting the parameter value are you currently
rendering and
supplying input sample frames which are non-zero? The parameter value
is meant
to give a measurement on the power of the input you're giving to the
mixer.
Chris Rogers
Core Audio
Apple Computer
Hello. I am trying to get kStereoMixerParam_PreAveragePower from a
stereo mixer.
I'm doing the following:
mLeftLevel = 0.0;
error = AudioUnitGetParameter(mixerUnit,
kStereoMixerParam_PreAveragePower + 0,
kAudioUnitScope_Input,
0,
&mLeftLevel);
Every time this runs I mLeftLevel comes back as -120.0.
AudioUnitGetParameter isn't returning an error. Any idea? Perhaps
I don't understand something.
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
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