Re: Audio levels, without using SequenceGrabber
Re: Audio levels, without using SequenceGrabber
- Subject: Re: Audio levels, without using SequenceGrabber
- From: Dave Fernandes <email@hidden>
- Date: Tue, 27 Nov 2007 19:08:32 -0500
Perhaps I have a naive understanding of the problem, but I just
created an audio unit whose render callback computes an average power
level and stores that for readout by the UI thread.
Dave
On Nov 27, 2007, at 6:37 PM, Jeff Moore wrote:
There is no general direction I can point you at. Like I said,
there is no central point in a process where you can tap the mix.
The best you can do is deal with it on a case by case basis. For
example, our mixer AUs support metering via read-only parameters
like kMatrixMixerParam_PostAveragePower (for AUMatrixMixer). You
can use these properties in your engine to support metering.
But the same caveats I mentioned with QT apply here: this only
works for the cases you know about and have control over. Other
audio won't be included.
On Nov 27, 2007, at 3:28 PM, Neil Clayton wrote:
What would be the recommended way to monitor the current level of
an audio device?
I know if the SequenceGrabber method of doing this - but was
wondering about doing it purely in CoreAudio. I'm aware there is
no exposed API method to do it as standard, but wondered what the
general approach would be (so that I can go look in that direction).
--
Jeff Moore
Core Audio
Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40utoronto.ca
This email sent to email@hidden
_______________________________________________
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