summaryrefslogtreecommitdiff
path: root/src/chresampler.cc
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jonas.christensen@prevas.com>2016-04-14 12:44:24 +0200
committerJonas Suhr Christensen <jonas.christensen@prevas.com>2016-04-14 12:44:24 +0200
commitf0ccaeaec633a728240d7e8f3c339766694f90b2 (patch)
treebbcebbcd59ed76e4616458980bb7eb15e91cd58f /src/chresampler.cc
parentc7aae008ad818f9cb453ce184673e0edf8ba4e58 (diff)
Fixed dummy implementation of CHResampler used when compiling without resampler support.
Diffstat (limited to 'src/chresampler.cc')
-rw-r--r--src/chresampler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chresampler.cc b/src/chresampler.cc
index 4515e53..5118d8f 100644
--- a/src/chresampler.cc
+++ b/src/chresampler.cc
@@ -162,19 +162,19 @@ double CHResampler::getRatio() const
#else
// Dummy implementation
-CHResampler::CHResampler() {}
+CHResampler::CHResampler() {}
CHResampler::~CHResampler() {}
void CHResampler::setup(double, double) {}
void CHResampler::setInputSamples(float*, size_t) {}
void CHResampler::setOutputSamples(float*, size_t) {}
void CHResampler::process() {}
-size_t CHResampler::getInputSampleCount()
+size_t CHResampler::getInputSampleCount() const
{
return 0;
}
-size_t CHResampler::getOutputSampleCount()
+size_t CHResampler::getOutputSampleCount() const
{
return 0;
}