aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi.cpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-25 14:51:00 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-25 14:51:00 +0300
commitef601741e585f7b48c2fe81304bcba4d161ed375 (patch)
tree72950e2ef59e71e15721561df4eadca4a7268fde /src/adlmidi.cpp
parent1c2477bb771491513ba3b873495ff8b0232c125f (diff)
downloadlibADLMIDI-ef601741e585f7b48c2fe81304bcba4d161ed375.tar.gz
libADLMIDI-ef601741e585f7b48c2fe81304bcba4d161ed375.tar.bz2
libADLMIDI-ef601741e585f7b48c2fe81304bcba4d161ed375.zip
Fixed missing refresh of 4-op channels count
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r--src/adlmidi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp
index 6663e45..32872ef 100644
--- a/src/adlmidi.cpp
+++ b/src/adlmidi.cpp
@@ -319,6 +319,7 @@ ADLMIDI_EXPORT int adl_setNumFourOpsChn(ADL_MIDIPlayer *device, int ops4)
play->m_setup.numFourOps = static_cast<unsigned int>(ops4);
play->m_synth.m_numFourOps = play->m_setup.numFourOps;
+ play->m_synth.updateChannelCategories();
return 0; //adlRefreshNumCards(device);
}