From 92004f2e7e6ec8479805313b0bdac7258d53c74e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 30 Nov 2013 13:19:07 +0100 Subject: pcm/PcmConvert: move code to new class PcmChannelsConverter --- src/pcm/PcmConvert.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/pcm/PcmConvert.hxx') 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 @@ -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; -- cgit v1.2.3