diff options
Diffstat (limited to 'src/midimapper.cc')
-rw-r--r-- | src/midimapper.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/midimapper.cc b/src/midimapper.cc index ca0cc21..d4ff94e 100644 --- a/src/midimapper.cc +++ b/src/midimapper.cc @@ -33,3 +33,9 @@ int MidiMapper::lookup(int note) if(instrmap.find(instr) == instrmap.end()) return -1; return instrmap[instr]; } + +void MidiMapper::clear() +{ + midimap.clear(); + instrmap.clear(); +} |