summaryrefslogtreecommitdiff
path: root/vst/input_vst.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-04 21:19:58 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-04 21:19:58 +0200
commit77b3943b751bed43d230de6db322a750bfd1fc8e (patch)
treecd7d98bc8c06c660558a52f2b6b6ed73982efdf2 /vst/input_vst.cc
parent0e436ebcd7faacb557ab94952765cb6bcfd7d259 (diff)
New message system. New common midi input class. Some compiler warning fixes. New ListBoxBasic class used by both LustBox and ComboBox. New embossed font.
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;
- }
-}