• 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
Audio Unit multi channel mixer output metering, OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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, &amps[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

  • Follow-Ups:
    • Am I forced to use C++ to develop with Audio Units?
      • From: Ben <email@hidden>
  • Prev by Date: AudioOutputUnitStart very slow... any ideas?
  • Next by Date: Re: AudioOutputUnitStart very slow... any ideas?
  • Previous by thread: Re: AudioOutputUnitStart very slow... any ideas?
  • Next by thread: Am I forced to use C++ to develop with Audio Units?
  • Index(es):
    • Date
    • Thread