diff options
Diffstat (limited to 'drumgizmo/input/jackmidi.h')
-rw-r--r-- | drumgizmo/input/jackmidi.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drumgizmo/input/jackmidi.h b/drumgizmo/input/jackmidi.h index 41a3e55..e129071 100644 --- a/drumgizmo/input/jackmidi.h +++ b/drumgizmo/input/jackmidi.h @@ -34,7 +34,9 @@ #include "midimapparser.h" #include "../jackclient.h" -class JackMidiInputEngine : public AudioInputEngine, public JackProcess +class JackMidiInputEngine + : public AudioInputEngine + , public JackProcess { public: JackMidiInputEngine(JackClient &client); @@ -42,12 +44,12 @@ public: // based on AudioInputEngine bool isMidiEngine() override; - bool init(Instruments &instruments) override; + bool init(Instruments& instruments) override; void setParm(std::string parm, std::string value) override; bool start() override; void stop() override; void pre() override; - event_t *run(size_t pos, size_t len, size_t *nevents) override; + event_t* run(size_t pos, size_t len, size_t* nevents) override; void post() override; // based on JackProcess @@ -61,6 +63,6 @@ private: MidiMapper midi_mapper; std::size_t pos; - event_t *list; + event_t* list; size_t listsize; }; |