• 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
metering mixer output on ios
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

metering mixer output on ios


  • Subject: metering mixer output on ios
  • From: Ash Gibson <email@hidden>
  • Date: Fri, 10 Aug 2012 16:30:49 +1000

Hi,

I have an AUGraph with a multi channel mixer. I basically want to get a meter reading of the single output from the mixer. So it wouldn't matter if I had 1 or 100 things going into the mixer, i just want to meter the output.

I have the following snippets:

// allow metering on the mixer
UInt32 allowMetering = 1;
CheckError(AudioUnitSetProperty(myMixer,
                                    kAudioUnitProperty_MeteringMode,
                                    kAudioUnitScope_Output,
                                    0,                              // allowing metering on bus 0
                                    &allowMetering,
                                    sizeof(allowMetering)),
               "AudioUnitSetProperty[kAudioUnitProperty_MeteringMode] failed");


and in a timer:

float amps;
CheckError(AudioUnitGetParameter(refObj.mixerAU, kMultiChannelMixerParam_PostAveragePower, kAudioUnitScope_Output, 0, &amps), "Error");

I keep getting the following error in my debugger:

(lldb)

with this item highlighted: 

#0 0x3681f488 in PowerMeter::Process_Int32(long const*, int, int) ()


Can anyone help point me in the right direction.

Cheers,

Ash
 _______________________________________________
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: metering mixer output on ios
      • From: Michael Tyson <email@hidden>
  • Prev by Date: Re: AUTImePitchTest- kTimePitchParam_Pitch does nothing
  • Next by Date: AUFilePlayer and multiple files
  • Previous by thread: Re: AUTImePitchTest- kTimePitchParam_Pitch does nothing
  • Next by thread: Re: metering mixer output on ios
  • Index(es):
    • Date
    • Thread