Re: Property Listener kAudioQueueProperty_CurrentLevelMeterDB
Re: Property Listener kAudioQueueProperty_CurrentLevelMeterDB
- Subject: Re: Property Listener kAudioQueueProperty_CurrentLevelMeterDB
- From: Jens Alfke <email@hidden>
- Date: Wed, 30 Apr 2008 07:47:05 -0700
On 30 Apr '08, at 3:12 AM, Amber Star wrote:
I've tried to add a property listener to to the
kAudioQueueProperty_CurrentLevelMeterDB property. I enabled
LevelMetering on the queue.
It doesn't make sense to listen to this, because it changes constantly
(the callback would have to be called 44,100 times a second!)
If you want to display an animated level meter, start an NSTimer at
the desired frequency and get the property value every time it fires.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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