• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: kStereoMixerParam_PreAveragePower
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kStereoMixerParam_PreAveragePower


  • Subject: Re: kStereoMixerParam_PreAveragePower
  • From: Chris Rogers <email@hidden>
  • Date: Fri, 18 Feb 2005 12:20:07 -0800

Dominic,

You need to use input scope (kAudioUnitScope_Input) here.

Chris Rogers
Core Audio
Apple Computer


Hmm...this didn't work for me. Forgive me for having problems with something so simple.

UInt32 metering = 1;
error = AudioUnitSetProperty(mixerUnit,

kAudioUnitProperty_MeteringMode,
kAudioUnitScope_Global,
0,
&metering,
sizeof(UInt32));

This is definitely done before I start asking for kStereoMixerParam_PreAveragePower from the mixer audio unit.

Dominic Feira / Code Monkey / Ambrosia Software, Inc.

On Feb 18, 2005, at 4:52 AM, Chris Rogers wrote:


Sorry Dominic, I should have also asked if you're enabling metering.

You need to enable it on the mixerUnit with the
kAudioUnitProperty_MeteringMode property.
A UInt32 value of 1 will turn it on. The reason you need to
explicitly enable it is because
it uses some of the CPU to compute the value (not a huge amount).

That should work better, good luck.
Chris Rogers
Core Audio
Apple Computer

_______________________________________________
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
  • Follow-Ups:
    • Re: kStereoMixerParam_PreAveragePower
      • From: Dominic Feira <email@hidden>
References: 
 >Re: kStereoMixerParam_PreAveragePower (From: Dominic Feira <email@hidden>)

  • Prev by Date: Re: kStereoMixerParam_PreAveragePower
  • Next by Date: Capturing Data coming OUT of an AUGraph
  • Previous by thread: Re: kStereoMixerParam_PreAveragePower
  • Next by thread: Re: kStereoMixerParam_PreAveragePower
  • Index(es):
    • Date
    • Thread