From 876f779b42a1e201c9d532d22b88e8eafe3d2a71 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 28 Apr 2013 21:07:32 +0200 Subject: Remove midifileXXX finction leftovers... --- vst/drumgizmo_vst.cc | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/vst/drumgizmo_vst.cc b/vst/drumgizmo_vst.cc index 06e90bd..9d5ff0c 100644 --- a/vst/drumgizmo_vst.cc +++ b/vst/drumgizmo_vst.cc @@ -35,17 +35,7 @@ #define NUM_PROGRAMS 0 #define NUM_PARAMS 0 -/* -static void midimapHandler(void *ptr, const char* file) -{ - DEBUG(vst, "midimapHandler\n"); - DrumGizmoVst* effect = (DrumGizmoVst*)ptr; - InputVST *input = effect->input; - DrumGizmo *drumgizmo = effect->drumgizmo; - drumgizmo->midimapfile = file; - input->loadMidiMap(file); -} -*/ + DGEditor::DGEditor(AudioEffect* effect) { DEBUG(dgeditor, "Create DGEditor\n"); @@ -193,16 +183,6 @@ VstInt32 DrumGizmoVst::setChunk(void *data, VstInt32 byteSize, bool isPreset) ERR(vst, "setConfigString failed...\n"); return 1; } - DEBUG(vst, "Using Drumkit: %s\n", drumgizmo->kitfile.c_str()); - DEBUG(vst, "Using Midimap: %s\n", drumgizmo->midimapfile.c_str()); - - // input->loadMidiMap(drumgizmo->midimapfile); - - /* - drumgizmo->loadkit("z:/c/drumgizmo/kits/test/test.xml"); - drumgizmo->midimapfile = "z:/c/drumgizmo/kits/midimap.xml"; - input->loadMidiMap(drumgizmo->midimapfile); - */ return 0; } -- cgit v1.2.3