From fa8cfa65c0d54ea1469b9870a31c81b69fefef11 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 24 Feb 2018 12:30:19 +0100 Subject: [PATCH] - fixed incomplete initialization of the chorus data. --- src/sound/timiditypp/effect.h | 1 + src/sound/timiditypp/playmidi.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/sound/timiditypp/effect.h b/src/sound/timiditypp/effect.h index 77bb52dc12..b447fd9c58 100644 --- a/src/sound/timiditypp/effect.h +++ b/src/sound/timiditypp/effect.h @@ -29,6 +29,7 @@ public: Effect(Reverb *_reverb) { reverb = _reverb; + init_effect(); } void init_effect(); diff --git a/src/sound/timiditypp/playmidi.cpp b/src/sound/timiditypp/playmidi.cpp index b8ff70566f..19c54fd5fc 100644 --- a/src/sound/timiditypp/playmidi.cpp +++ b/src/sound/timiditypp/playmidi.cpp @@ -6132,11 +6132,13 @@ void Player::send_long_event(const uint8_t *sysexbuffer, int exlen) /* initialize effect status */ reverb->init_effect_status(play_system_mode); + effect->init_effect(); instruments->init_userdrum(); instruments->init_userinst(); playmidi_stream_init(); } play_event(&ev); + return; } if ((ne = sc.parse_sysex_event_multi(sysexbuffer + 1, exlen - 1, evm, instruments))) {