kStereoMixerParam_PreAveragePower
kStereoMixerParam_PreAveragePower
- Subject: kStereoMixerParam_PreAveragePower
- From: Mark Alldritt <email@hidden>
- Date: Mon, 01 Nov 2004 14:56:22 -0800
Hi Folks,
I'm experimenting with the StereoMixer AU. I have the stereo mixer
connected to a kAudioUnitSubType_DefaultOutput outputAU. I can change
volume and pan without any problem. However, I have some questions:
1) How do I read Left and Right values for the
kStereoMixerParam_PreAveragePower/kStereoMixerParam_PostAveragePower
parameters? When I pass anything other than 0 as the element parameter to
AudioUnitGetParameter, I get back an kAudioUnitErr_InvalidElement error.
The value I get back for element 0 appears to be for the left channel only.
2) How frequently should I be sampling the kStereoMixerParam_PreAveragePower
paramter. The MatrixMixerTest sample schedules its timer at 0.02s
intervals. When I use this interval, I find that the Average power levels
I'm getting appear to be out of sync with the music.
Thanks. I'm sorry if these are RTFM questions, but all my searches came up
empty.
Cheers
-Mark
---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB: http://www.latenightsw.com/ CANADA V8V-4M9
_______________________________________________
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