From: c vw Date: Fri, 13 Mar 2020 14:34:36 +0000 (+0100) Subject: added MIDI "MUTE" function (key only), updated MIDI documentation X-Git-Url: https://git.rkrishnan.org/components/vdrive/...?a=commitdiff_plain;h=665a79ebe6fb5f6b0b12d2e71028ea84fb47deb2;p=pihpsdr.git added MIDI "MUTE" function (key only), updated MIDI documentation --- diff --git a/midi3.c b/midi3.c index 8d930bd..776c1ce 100644 --- a/midi3.c +++ b/midi3.c @@ -431,7 +431,9 @@ void DoTheMidi(enum MIDIaction action, enum MIDItype type, int val) { break; /////////////////////////////////////////////////////////// "MUTE" case MIDI_MUTE: - g_idle_add(ext_mute_update,NULL); + if (type == MIDI_KEY) { + g_idle_add(ext_mute_update,NULL); + } break; /////////////////////////////////////////////////////////// "NOISEBLANKER" case MIDI_NB: // only key supported diff --git a/release/documentation/MIDI-manual.odt b/release/documentation/MIDI-manual.odt index 9913faa..92585bb 100644 Binary files a/release/documentation/MIDI-manual.odt and b/release/documentation/MIDI-manual.odt differ diff --git a/release/documentation/MIDI-manual.pdf b/release/documentation/MIDI-manual.pdf index 9099a68..7be25e7 100644 Binary files a/release/documentation/MIDI-manual.pdf and b/release/documentation/MIDI-manual.pdf differ