diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-01-25 16:20:30 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 09:03:17 +0100 |
commit | c9edca027eb2d2e257ff4a13fc257385d7c64d39 (patch) | |
tree | f2f003225fc5177fa45bb61e8058aa5acb3be798 /drumgizmo/input/jackmidi.h | |
parent | d3554736c13531898fb720b34772a595620e661a (diff) |
Base Midi-Engines on Midi-Engine Base Class (+ Minor Renaming)
Diffstat (limited to 'drumgizmo/input/jackmidi.h')
-rw-r--r-- | drumgizmo/input/jackmidi.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drumgizmo/input/jackmidi.h b/drumgizmo/input/jackmidi.h index e129071..10111a4 100644 --- a/drumgizmo/input/jackmidi.h +++ b/drumgizmo/input/jackmidi.h @@ -29,21 +29,20 @@ #include <jack/jack.h> #include <jack/midiport.h> -#include "audioinputengine.h" +#include "audioinputenginemidi.h" #include "midimapper.h" #include "midimapparser.h" #include "../jackclient.h" class JackMidiInputEngine - : public AudioInputEngine + : public AudioInputEngineMidi , public JackProcess { public: JackMidiInputEngine(JackClient &client); ~JackMidiInputEngine(); - // based on AudioInputEngine - bool isMidiEngine() override; + // based on AudioInputEngineMidi bool init(Instruments& instruments) override; void setParm(std::string parm, std::string value) override; bool start() override; @@ -59,8 +58,6 @@ private: JackClient &client; std::unique_ptr<JackPort> port; - std::string midimap; - MidiMapper midi_mapper; std::size_t pos; event_t* list; |