summaryrefslogtreecommitdiff
path: root/vst/input_vst.cc
diff options
context:
space:
mode:
Diffstat (limited to 'vst/input_vst.cc')
-rw-r--r--vst/input_vst.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/vst/input_vst.cc b/vst/input_vst.cc
index 5cc73f9..53de387 100644
--- a/vst/input_vst.cc
+++ b/vst/input_vst.cc
@@ -106,20 +106,3 @@ void InputVST::processEvents(VstEvents* ev)
event++;
}
}
-
-void InputVST::loadMidiMap(std::string f)
-{
- DEBUG(inputvst, "load midi map %s\n", f.c_str());
-
- MidiMapParser p(f);
- if(p.parse()) {
- ERR(inputvst, "Error loading midimap: %s\n", f.c_str());
- return;
- }
- mmap.midimap = p.midimap;
-
- for(size_t i = 0; i < instruments->size(); i++) {
- DEBUG(inputvst, "Mapping %s to %d\n", (*instruments)[i]->name().c_str(), i);
- mmap.instrmap[(*instruments)[i]->name()] = i;
- }
-}