summaryrefslogtreecommitdiff
path: root/drumgizmo/input/midifile.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/midifile.h
parent100e2d3bd46f64df730c8a375559680c577036ef (diff)
reformatting fix
Diffstat (limited to 'drumgizmo/input/midifile.h')
-rw-r--r--drumgizmo/input/midifile.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/drumgizmo/input/midifile.h b/drumgizmo/input/midifile.h
index 5efcc72..a7e4cf0 100644
--- a/drumgizmo/input/midifile.h
+++ b/drumgizmo/input/midifile.h
@@ -34,7 +34,8 @@
#include "midimapper.h"
#include "midimapparser.h"
-class MidifileInputEngine : public AudioInputEngine
+class MidifileInputEngine
+ : public AudioInputEngine
{
public:
MidifileInputEngine();
@@ -42,17 +43,17 @@ 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;
private:
- smf_t *smf;
- smf_event_t *current_event;
+ smf_t* smf;
+ smf_event_t* current_event;
MidiMapper midi_mapper;