From ae1eb9ccdeb16183ad3faaf8dbf548b1934889db Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 5 Sep 2016 12:19:20 +0200 Subject: pcm/Convert: migrate from class Error to C++ exceptions --- src/pcm/GlueResampler.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/pcm/GlueResampler.hxx') diff --git a/src/pcm/GlueResampler.hxx b/src/pcm/GlueResampler.hxx index e2107e478..da0d81e49 100644 --- a/src/pcm/GlueResampler.hxx +++ b/src/pcm/GlueResampler.hxx @@ -24,7 +24,6 @@ #include "AudioFormat.hxx" #include "FormatConverter.hxx" -class Error; class PcmResampler; template struct ConstBuffer; @@ -49,15 +48,14 @@ public: GluePcmResampler(); ~GluePcmResampler(); - bool Open(AudioFormat src_format, unsigned new_sample_rate, - Error &error); + void Open(AudioFormat src_format, unsigned new_sample_rate); void Close(); SampleFormat GetOutputSampleFormat() const { return output_sample_format; } - ConstBuffer Resample(ConstBuffer src, Error &error); + ConstBuffer Resample(ConstBuffer src); }; #endif -- cgit v1.2.3