summaryrefslogtreecommitdiff
path: root/drumgizmo/input/jackmidi.h
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-25 15:51:53 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:17 +0100
commitd3554736c13531898fb720b34772a595620e661a (patch)
tree85e6f76e2b37785405ddf6685801ab9e9f9125cb /drumgizmo/input/jackmidi.h
parent100e2d3bd46f64df730c8a375559680c577036ef (diff)
reformatting fix
Diffstat (limited to 'drumgizmo/input/jackmidi.h')
-rw-r--r--drumgizmo/input/jackmidi.h10
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;
};