mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 12:32:34 +00:00
OPLsynth: Default to center panning.
This commit is contained in:
parent
42e62d9005
commit
bdfc42182f
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue