diff options
author | Max Kellermann <max@duempel.org> | 2013-11-30 13:19:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-30 13:22:25 +0100 |
commit | 92004f2e7e6ec8479805313b0bdac7258d53c74e (patch) | |
tree | e8d522cd55c015e145816f6df6db8316ea6cad6a /src/pcm/PcmConvert.hxx | |
parent | 0eefc7a43ce13876cdfb434e2a890a16befcb847 (diff) | |
download | mpd-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.hxx | 5 |
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; |