diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-04-04 21:19:58 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-04-04 21:19:58 +0200 |
commit | 77b3943b751bed43d230de6db322a750bfd1fc8e (patch) | |
tree | cd7d98bc8c06c660558a52f2b6b6ed73982efdf2 /lv2/input_lv2.cc | |
parent | 0e436ebcd7faacb557ab94952765cb6bcfd7d259 (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 'lv2/input_lv2.cc')
-rw-r--r-- | lv2/input_lv2.cc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lv2/input_lv2.cc b/lv2/input_lv2.cc index 11e79a6..0d97760 100644 --- a/lv2/input_lv2.cc +++ b/lv2/input_lv2.cc @@ -61,6 +61,7 @@ void InputLV2::stop() void InputLV2::pre() { } + event_t *InputLV2::run(size_t pos, size_t len, size_t *nevents) { event_t *list; @@ -114,18 +115,6 @@ void InputLV2::post() { } -void InputLV2::loadMidiMap(std::string f) -{ - if(f == "") return; - MidiMapParser p(f); - if(p.parse()) {/*return false;*/} - mmap.midimap = p.midimap; - - for(size_t i = 0; i < instruments->size(); i++) { - mmap.instrmap[(*instruments)[i]->name()] = i; - } -} - #ifdef TEST_INPUT_LV2 //Additional dependency files //deps: |