• 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: Property Listener kAudioQueueProperty_CurrentLevelMeterDB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Property Listener kAudioQueueProperty_CurrentLevelMeterDB (From: Amber Star <email@hidden>)

  • Prev by Date: Property Listener kAudioQueueProperty_CurrentLevelMeterDB
  • Next by Date: Re: AudioQueueNewOutput error
  • Previous by thread: Property Listener kAudioQueueProperty_CurrentLevelMeterDB
  • Next by thread: Re: AudioQueueNewOutput error
  • Index(es):
    • Date
    • Thread