aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_midiplay.cpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-11-16 01:51:56 +0300
committerWohlstand <admin@wohlnet.ru>2017-11-16 01:51:56 +0300
commitd491f6ef69dea336f61fdadf79f431d12f0454f2 (patch)
tree5a0157e6b57321c4cf5cf362a6911041c1c7e7b4 /src/adlmidi_midiplay.cpp
parent5cdfbaf362dc3fd4bff8c11a7b5cf61cbbb4b15f (diff)
downloadlibADLMIDI-d491f6ef69dea336f61fdadf79f431d12f0454f2.tar.gz
libADLMIDI-d491f6ef69dea336f61fdadf79f431d12f0454f2.tar.bz2
libADLMIDI-d491f6ef69dea336f61fdadf79f431d12f0454f2.zip
Clean-up and beautifying
Diffstat (limited to 'src/adlmidi_midiplay.cpp')
-rw-r--r--src/adlmidi_midiplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi_midiplay.cpp b/src/adlmidi_midiplay.cpp
index 51da17e..6024373 100644
--- a/src/adlmidi_midiplay.cpp
+++ b/src/adlmidi_midiplay.cpp
@@ -1237,7 +1237,7 @@ void MIDIplay::realTime_Controller(uint8_t channel, uint8_t type, uint8_t value)
case 121: // Reset all controllers
Ch[channel].bend = 0;
Ch[channel].volume = 100;
- Ch[channel].expression = 100;
+ Ch[channel].expression = 127;
Ch[channel].sustain = 0;
Ch[channel].vibrato = 0;
Ch[channel].vibspeed = 2 * 3.141592653 * 5.0;