summaryrefslogtreecommitdiff
path: root/src/pcm/GlueResampler.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-09-05 12:19:20 +0200
committerMax Kellermann <max@musicpd.org>2016-09-09 14:44:13 +0200
commitae1eb9ccdeb16183ad3faaf8dbf548b1934889db (patch)
tree17456fa28a7a030cbba445512def9c0bb9f8e306 /src/pcm/GlueResampler.hxx
parent860064c8128fd12b2ae6a32d399f01fe6390a223 (diff)
pcm/Convert: migrate from class Error to C++ exceptions
Diffstat (limited to 'src/pcm/GlueResampler.hxx')
-rw-r--r--src/pcm/GlueResampler.hxx6
1 files changed, 2 insertions, 4 deletions
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<typename T> 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<void> Resample(ConstBuffer<void> src, Error &error);
+ ConstBuffer<void> Resample(ConstBuffer<void> src);
};
#endif