• 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: Audio Unit level metering oniPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Unit level metering oniPhone


  • Subject: Re: Audio Unit level metering oniPhone
  • From: William Stewart <email@hidden>
  • Date: Thu, 23 Apr 2009 11:06:55 -0700

Hi Andrew

My mistake - I was looking at the wrong code on our side.

We don't have metering supported for the iphone mixer at this point. Something we'll look into

Sorry about wasting your time

Bill

On Apr 23, 2009, at 12:16 AM, Andrew Nalband wrote:

Hi Bill,

After several failed attempts to type this into an e-mail, here's a description:

http://pastie.org/455533

On Apr 22, 2009, at 8:10 PM, William Stewart wrote:

Hi Andrew


On Apr 22, 2009, at 1:56 AM, Andrew Nalband wrote:

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 [Å’ˇˇ])

I don't see how this could return that error - are you sure you are doing this on the mixer audio unit? How did you open this?

Bill



 _______________________________________________
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: Audio Unit level metering oniPhone
      • From: Andrew Nalband <email@hidden>
    • Re: Audio Unit level metering oniPhone
      • From: Andrew Nalband <email@hidden>
References: 
 >Audio Unit level metering oniPhone (From: Andrew Nalband <email@hidden>)
 >Re: Audio Unit level metering oniPhone (From: William Stewart <email@hidden>)
 >Re: Audio Unit level metering oniPhone (From: Andrew Nalband <email@hidden>)
 >Re: Audio Unit level metering oniPhone (From: William Stewart <email@hidden>)
 >Re: Audio Unit level metering oniPhone (From: Andrew Nalband <email@hidden>)

  • Prev by Date: Re: iPhone RemoteIO playback
  • Next by Date: Re: MIDI channels in music device AUs
  • Previous by thread: Re: Audio Unit level metering oniPhone
  • Next by thread: Re: Audio Unit level metering oniPhone
  • Index(es):
    • Date
    • Thread