aboutsummaryrefslogtreecommitdiff
path: root/core/qmpmidimapperrtmidi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qmpmidimapperrtmidi.cpp')
-rw-r--r--core/qmpmidimapperrtmidi.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/qmpmidimapperrtmidi.cpp b/core/qmpmidimapperrtmidi.cpp
index f28bb9d..845f24b 100644
--- a/core/qmpmidimapperrtmidi.cpp
+++ b/core/qmpmidimapperrtmidi.cpp
@@ -91,3 +91,8 @@ void qmpMidiMapperRtMidi::panic(int iid,int ch)
ctrlChange(iid,ch,120,0);
//ctrlChange(iid,ch,123,0);
}
+void qmpMidiMapperRtMidi::reset(int iid,int ch)
+{
+ ctrlChange(iid,ch,120,0);
+ ctrlChange(iid,ch,121,0);
+}