From bdfc42182f08f2a979fac81ae1aaf5d518c71d54 Mon Sep 17 00:00:00 2001 From: svdijk Date: Sun, 21 May 2017 21:43:48 +0200 Subject: [PATCH] OPLsynth: Default to center panning. --- src/sound/oplsynth/musicblock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sound/oplsynth/musicblock.cpp b/src/sound/oplsynth/musicblock.cpp index c2e23b0dc..daea5ea2d 100644 --- a/src/sound/oplsynth/musicblock.cpp +++ b/src/sound/oplsynth/musicblock.cpp @@ -36,6 +36,7 @@ musicBlock::musicBlock () { memset (this, 0, sizeof(*this)); + for(auto &oplchannel : oplchannels) oplchannel.Panning = 64; // default to center panning. for(auto &voice : voices) voice.index = ~0u; // mark all free. }