Re: AUFilePlayer volume levels?
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