summaryrefslogtreecommitdiff
path: root/src/pcm/PcmConvert.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-11 22:31:46 +0100
committerMax Kellermann <max@duempel.org>2013-11-30 16:22:57 +0100
commit5ba90cd8ea87cf97d64409b7b4c59033c2450c77 (patch)
treeeec1565c805de7bc142de82e5100cc3c1f86aa8d /src/pcm/PcmConvert.hxx
parente9127523db55a267f67532fd61e913f2879324fc (diff)
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 'src/pcm/PcmConvert.hxx')
-rw-r--r--src/pcm/PcmConvert.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pcm/PcmConvert.hxx b/src/pcm/PcmConvert.hxx
index 9835045d6..13dff4427 100644
--- a/src/pcm/PcmConvert.hxx
+++ b/src/pcm/PcmConvert.hxx
@@ -41,12 +41,14 @@ class Domain;
class PcmConvert {
PcmDsd dsd;
+ GluePcmResampler resampler;
PcmFormatConverter format_converter;
PcmChannelsConverter channels_converter;
- GluePcmResampler resampler;
AudioFormat src_format, dest_format;
+ bool enable_resampler, enable_format, enable_channels;
+
public:
PcmConvert();
~PcmConvert();