summaryrefslogtreecommitdiff
path: root/drumgizmo/input/midifile.h
diff options
context:
space:
mode:
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;