aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmConvert.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-30 13:19:07 +0100
committerMax Kellermann <max@duempel.org>2013-11-30 13:22:25 +0100
commit92004f2e7e6ec8479805313b0bdac7258d53c74e (patch)
treee8d522cd55c015e145816f6df6db8316ea6cad6a /src/pcm/PcmConvert.hxx
parent0eefc7a43ce13876cdfb434e2a890a16befcb847 (diff)
downloadmpd-92004f2e7e6ec8479805313b0bdac7258d53c74e.tar.gz
mpd-92004f2e7e6ec8479805313b0bdac7258d53c74e.tar.xz
mpd-92004f2e7e6ec8479805313b0bdac7258d53c74e.zip
pcm/PcmConvert: move code to new class PcmChannelsConverter
Diffstat (limited to 'src/pcm/PcmConvert.hxx')
-rw-r--r--src/pcm/PcmConvert.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pcm/PcmConvert.hxx b/src/pcm/PcmConvert.hxx
index d78d72214..d6e113915 100644
--- a/src/pcm/PcmConvert.hxx
+++ b/src/pcm/PcmConvert.hxx
@@ -24,6 +24,7 @@
#include "PcmResample.hxx"
#include "PcmBuffer.hxx"
#include "FormatConverter.hxx"
+#include "ChannelsConverter.hxx"
#include "AudioFormat.hxx"
#include <stddef.h>
@@ -43,9 +44,7 @@ class PcmConvert {
PcmResampler resampler;
PcmFormatConverter format_converter;
-
- /** the buffer for converting the channel count */
- PcmBuffer channels_buffer;
+ PcmChannelsConverter channels_converter;
AudioFormat src_format, dest_format;