diff options
author | Memphiz <memphis@machzwo.de> | 2012-08-01 18:24:41 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2012-08-01 18:28:34 +0200 |
commit | d548695bbcadd00f4869e5e9901dbea1df5b3d1a (patch) | |
tree | 0be0bac369d4d4b5c1cbc0ecbfd471aab7481396 | |
parent | 00ecb8f64b8c194e89fdd4f4d94981885e3b5134 (diff) |
[AE/CA/iOS] - let the hardware volume control the output channel of the mixer not 1 of 8 input channels only (fixes a bug where volume gets 100% on paplayer track switch)
-rw-r--r-- | xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEHALIOS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEHALIOS.cpp b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEHALIOS.cpp index 94050a3655..1d5068641d 100644 --- a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEHALIOS.cpp +++ b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEHALIOS.cpp @@ -575,7 +575,7 @@ bool CAUMultiChannelMixer::SetCurrentVolume(Float32 vol) if (!m_audioUnit) return false; - OSStatus ret = AudioUnitSetParameter(m_audioUnit, kMultiChannelMixerParam_Volume, kAudioUnitScope_Input, kInputBus, vol, 0); + OSStatus ret = AudioUnitSetParameter(m_audioUnit, kMultiChannelMixerParam_Volume, kAudioUnitScope_Output, kOutputBus, vol, 0); if (ret) { CLog::Log(LOGERROR, "CAUMultiChannelMixer::SetCurrentVolume: Unable to set Mixer volume. Error = %s", GetError(ret).c_str()); |