OPLsynth: Default to center panning.

This commit is contained in:
svdijk 2017-05-21 21:43:48 +02:00 committed by Christoph Oelckers
parent 42e62d9005
commit bdfc42182f

View file

@ -36,6 +36,7 @@
musicBlock::musicBlock () musicBlock::musicBlock ()
{ {
memset (this, 0, sizeof(*this)); 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. for(auto &voice : voices) voice.index = ~0u; // mark all free.
} }