diff options
Diffstat (limited to 'src/pcm/LibsamplerateResampler.hxx')
-rw-r--r-- | src/pcm/LibsamplerateResampler.hxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/pcm/LibsamplerateResampler.hxx b/src/pcm/LibsamplerateResampler.hxx index 8161219c2..3c4c9bcd8 100644 --- a/src/pcm/LibsamplerateResampler.hxx +++ b/src/pcm/LibsamplerateResampler.hxx @@ -42,17 +42,15 @@ class LibsampleratePcmResampler final : public PcmResampler { PcmBuffer buffer; public: - virtual AudioFormat Open(AudioFormat &af, unsigned new_sample_rate, - Error &error) override; - virtual void Close() override; - virtual ConstBuffer<void> Resample(ConstBuffer<void> src, - Error &error) override; + AudioFormat Open(AudioFormat &af, unsigned new_sample_rate) override; + void Close() override; + ConstBuffer<void> Resample(ConstBuffer<void> src) override; private: - ConstBuffer<float> Resample2(ConstBuffer<float> src, Error &error); + ConstBuffer<float> Resample2(ConstBuffer<float> src); }; -bool -pcm_resample_lsr_global_init(const ConfigBlock &block, Error &error); +void +pcm_resample_lsr_global_init(const ConfigBlock &block); #endif |