diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-04-14 23:28:30 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-04-14 23:28:30 +0800 |
commit | eee7a6e13ec8cfcb70e3777d83a3a11b3cd30ac6 (patch) | |
tree | 7b0820543a3d1d97090434f173bd7d9df0bd4b13 /core/qmpmidimapperrtmidi.cpp | |
parent | 2888a8349d11a3e959c300256ce36e824337e636 (diff) | |
download | QMidiPlayer-eee7a6e13ec8cfcb70e3777d83a3a11b3cd30ac6.tar.xz |
History of the Moon.
Diffstat (limited to 'core/qmpmidimapperrtmidi.cpp')
-rw-r--r-- | core/qmpmidimapperrtmidi.cpp | 5 |
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); +} |