diff --git a/src/sound/oplsynth/musicblock.cpp b/src/sound/oplsynth/musicblock.cpp index c2e23b0dc7..daea5ea2d2 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. }