• 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: AUFilePlayer volume levels?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUFilePlayer volume levels?


  • Subject: Re: AUFilePlayer volume levels?
  • From: William Stewart <email@hidden>
  • Date: Tue, 17 Oct 2006 11:54:24 -0700

Only the mixer units implement this property

The property is defined on a per channel basis

Bill

On 17/10/2006, at 4:38 AM, M. Uli Kusterer wrote:

Hi,

does anyone know how to get at the volume levels currently being played through an AUFilePlayer? Do I really have to do all that work setting up a mixer component to ask it for its peak? I tried setting kAudioUnitProperty_MeteringMode on the output unit/ AUFilePlayer unit, and then calling kAudioUnitProperty_MeterClipping, but I always get an error about an invalid property from AudioUnitGetProperty().

Has anybody done this before? Ideally, I'd want to get volume levels for each channel separately. Sadly, not even the data types these two properties take is documented anywhere (well of course there's AudioUnitMeterClipping, so I can assume that's what getting kAudioUnitProperty_MeterClipping will return), so I'm pretty clueless where to get any information on what AUs support this etc.

 Any help greatly appreciated.

Cheers,
-- M. Uli Kusterer


_______________________________________________ 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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: AUFilePlayer volume levels?
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >AUFilePlayer volume levels? (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Callback when AUFilePlayer is finished?
  • Next by Date: Problems with OpenAComponent
  • Previous by thread: AUFilePlayer volume levels?
  • Next by thread: Re: AUFilePlayer volume levels?
  • Index(es):
    • Date
    • Thread