views:

18

answers:

0

Hi guys, I'm trying to use kAudioHardwareServiceDeviceProperty_VirtualMasterVolume; to set the volume of the device.

The docs says that "If the device has individual channel volume controls, this property applies to those identified by the device's preferred multichannel layout, or the preferred stereo pair if the device is stereo only. This control maintains relative balance between the channels it affects."

However when I set the volume on the device, i see in the sound preferences that the volume is correctly set, however when the volume changes, the balance jumps from where ever it was straight back into the middle. If i did not mis understand the docs, the balance should remain the same?

Regards, Han