Re: Help with monitoring system-wide audio
Re: Help with monitoring system-wide audio
- Subject: Re: Help with monitoring system-wide audio
- From: Jaime Magiera <email@hidden>
- Date: Mon, 26 Nov 2007 17:34:46 -0500
On Nov 26, 2007, at 5:22 PM, Bob Smith wrote:
Any suggestions, pointers to relevant docs, etc., greatly appreciated!
Hello,
Basically, you have a SequenceGrabber for the audio device. You set
that SG into PreviewMode. Then you query the the properties
kQTSGAudioPropertyID_ChannelMap, then
kQTSGAudioPropertyID_AveragePowerLevels, then
kQTSGAudioPropertyID_PeakHoldLevels. There's a little math in there,
but it's easy.
There was sample code called "Silly Meters" or "Silly Levels",
something to that effect. Also, there is a good example of how to do
metering in "WhackTV".
If you can't figure it out from those examples, let us know.
hth,
Jaime
_______________________________________________
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