Audio Unit multi channel mixer output metering, OS X
Audio Unit multi channel mixer output metering, OS X
- Subject: Audio Unit multi channel mixer output metering, OS X
- From: Robert Carroll <email@hidden>
- Date: Fri, 13 Apr 2012 10:26:22 -0400
Is the output metering for the multichannelmixer always mono?
I have set output metering to on in the configure & initialize code for my audiograph:
//metering UInt32 data = "" style="color: #5000dc">1;
// turn metering ON result = AudioUnitSetProperty( mixerUnit, kAudioUnitProperty_MeteringMode, kAudioUnitScope_Global, 0, &data, sizeof(data) );
calling the following code returns float values in db as expected, where I assume the 4th variable is the output channel, with 0 being the left channel.
err = AudioUnitGetParameter([myMixerHostAudioGraph mixerUnit], kMultiChannelMixerParam_PostAveragePower, kAudioUnitScope_Output, 0, &s[0]);
The same call with 1 instead of 0 doesn't throw an error, but does not return the power output of the second channel. The mixerUnit is outputting stereo audio.
I can't find any documentation for this especially for OS X not IOS.
thanks
rob
|
_______________________________________________
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