diff options
author | Max Kellermann <max@duempel.org> | 2013-11-11 22:31:46 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-30 16:22:57 +0100 |
commit | 5ba90cd8ea87cf97d64409b7b4c59033c2450c77 (patch) | |
tree | eec1565c805de7bc142de82e5100cc3c1f86aa8d /src/pcm/PcmFormat.cxx | |
parent | e9127523db55a267f67532fd61e913f2879324fc (diff) | |
download | mpd-5ba90cd8ea87cf97d64409b7b4c59033c2450c77.tar.gz mpd-5ba90cd8ea87cf97d64409b7b4c59033c2450c77.tar.xz mpd-5ba90cd8ea87cf97d64409b7b4c59033c2450c77.zip |
pcm/PcmResampler: convert to abstract interface
The PcmResampler interface is implemented by the two classes
FallbackPcmResampler and LibsampleratePcmResampler. This prepares for
adding more resampler libraries.
Diffstat (limited to '')
-rw-r--r-- | src/pcm/PcmFormat.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pcm/PcmFormat.cxx b/src/pcm/PcmFormat.cxx index 4565c71c6..b7a496264 100644 --- a/src/pcm/PcmFormat.cxx +++ b/src/pcm/PcmFormat.cxx @@ -442,7 +442,6 @@ ConvertToFloat(float *dest, constexpr float factor = 0.5 / (1 << (Traits::BITS - 2)); while (src != end) *dest++ = float(*src++) * factor; - } template<SampleFormat F, class Traits=SampleTraits<F>> |