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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drumgizmo/output/wavfile.h b/drumgizmo/output/wavfile.h
index 1dddfa1..dfe422c 100644
--- a/drumgizmo/output/wavfile.h
+++ b/drumgizmo/output/wavfile.h
@@ -40,14 +40,14 @@ public:
~WavfileOutputEngine();
// based on AudioOutputEngine
- bool init(Channels data) override;
- void setParm(std::string parm, std::string value) override;
+ bool init(const Channels& data) override;
+ void setParm(const std::string& parm, const 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;
+ size_t getSamplerate() const override;
private:
SF_INFO info;