diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-01-25 14:14:22 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 09:03:17 +0100 |
commit | 100e2d3bd46f64df730c8a375559680c577036ef (patch) | |
tree | 952e0ce0a1c5b6efb792c50617baa1484ba51e39 /drumgizmo/output/wavfile.h | |
parent | e5a773e80bee619987aacd40cc3205acfe146e9c (diff) |
applied clang-format
Diffstat (limited to 'drumgizmo/output/wavfile.h')
-rw-r--r-- | drumgizmo/output/wavfile.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/drumgizmo/output/wavfile.h b/drumgizmo/output/wavfile.h index 5aa9306..7bc7666 100644 --- a/drumgizmo/output/wavfile.h +++ b/drumgizmo/output/wavfile.h @@ -32,26 +32,26 @@ #include "audiooutputengine.h" -class WavfileOutputEngine - : public AudioOutputEngine { - public: - WavfileOutputEngine(); - ~WavfileOutputEngine(); - - // based on AudioOutputEngine - bool init(Channels data) override; - void setParm(std::string parm, std::string value) override; - bool start() override; - void stop() override; - void pre(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; - size_t num_channels; - - std::string file; +class WavfileOutputEngine : public AudioOutputEngine +{ +public: + WavfileOutputEngine(); + ~WavfileOutputEngine(); + + // based on AudioOutputEngine + bool init(Channels data) override; + void setParm(std::string parm, std::string value) override; + bool start() override; + void stop() override; + void pre(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; + size_t num_channels; + + std::string file; }; |