Hi Bill,
Thanks for the quick response.
Is it correct that I can use:
kMultiChannelMixerParam_PreAveragePower
for level metering? What range of values will I be reading from it? 0.0 to 1.0?
I followed your advice on checking for an error with this code:
UInt32 meteringMode = 1;
setupErr = AudioUnitSetProperty(mixerUnit, kAudioUnitProperty_MeteringMode, kAudioUnitScope_Input, 0, &meteringMode, sizeof(meteringMode) );
[self throwIfErr:setupErr withMessage:@"Couldn't turn on metering"];
and I am indeed getting an error:
exception: Couldn't turn on metering (OSStatus: -10879 [Å’ˇˇ])