summaryrefslogtreecommitdiff
path: root/drumgizmo/output/wavfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/output/wavfile.h')
-rw-r--r--drumgizmo/output/wavfile.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drumgizmo/output/wavfile.h b/drumgizmo/output/wavfile.h
index 7bc7666..9ed8ca7 100644
--- a/drumgizmo/output/wavfile.h
+++ b/drumgizmo/output/wavfile.h
@@ -32,7 +32,8 @@
#include "audiooutputengine.h"
-class WavfileOutputEngine : public AudioOutputEngine
+class WavfileOutputEngine
+ : public AudioOutputEngine
{
public:
WavfileOutputEngine();
@@ -44,13 +45,13 @@ public:
bool start() override;
void stop() override;
void pre(size_t nsamples) override;
- void run(int ch, sample_t *samples, size_t nsamples) override;
+ void run(int ch, sample_t* samples, size_t nsamples) override;
void post(size_t nsamples) override;
size_t samplerate() override;
private:
SF_INFO info;
- std::vector<SNDFILE *> channels;
+ std::vector<SNDFILE*> channels;
size_t num_channels;
std::string file;