From be345083a03a110d9f6ebc9310152bf079dfab7e Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Wed, 25 Mar 2015 11:58:22 +0100 Subject: AUDIO: Update 2nd operator panning for AdLib register 0xc0 --- audio/softsynth/opl/alsa.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/softsynth') diff --git a/audio/softsynth/opl/alsa.cpp b/audio/softsynth/opl/alsa.cpp index 8fea0fd021..934fb34aab 100644 --- a/audio/softsynth/opl/alsa.cpp +++ b/audio/softsynth/opl/alsa.cpp @@ -323,8 +323,8 @@ void OPL::writeOplReg(int c, int r, int v) { _oper[opIdx].connection = _oper[opIdx + 3].connection = v & 0x1; _oper[opIdx].feedback = _oper[opIdx + 3].feedback = (v >> 1) & 0x7; if (_type == Config::kOpl3) { - _oper[opIdx].left = (v >> 4) & 0x1; - _oper[opIdx].right = (v >> 5) & 0x1; + _oper[opIdx].left = _oper[opIdx + 3].left = (v >> 4) & 0x1; + _oper[opIdx].right = _oper[opIdx + 3].right = (v >> 5) & 0x1; } snd_hwdep_ioctl(_opl, SNDRV_DM_FM_IOCTL_SET_VOICE, (void *)&_oper[opIdx]); } -- cgit v1.2.3