calling audio device listener on master channel volume?
calling audio device listener on master channel volume?
- Subject: calling audio device listener on master channel volume?
- From: Navyn Muhammed Rajoo <email@hidden>
- Date: Thu, 24 Aug 2006 16:57:46 -0400
OSStatus result = AudioDeviceAddPropertyListener(_audioDevice, 0, 0,
kAudioDevicePropertyVolumeScalar, callback, &clientData);
above doesn't work, but when i call add property listener on the
stereo channels Left and Right the callback function gets called even
when i adjust the master volume slider in system preference, but the
problem is the left channel changes its scalar volume before the
right, and this poses a problem to the output i wanna achieve. Could
someone tell me how i could add a volume listener just for the master
channel volume change?
OSStatus result = AudioDeviceAddPropertyListener(_audioDevice, 1, 0,
property, callback, &clientData);
OSStatus result = AudioDeviceAddPropertyListener(_audioDevice, 2, 0,
property, callback, &clientData);
_______________________________________________
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