aboutsummaryrefslogtreecommitdiff
path: root/src/DecoderInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 23:40:56 +0100
committerMax Kellermann <max@duempel.org>2013-01-31 00:26:55 +0100
commit361404fd59e817560e4564f15466e94c2a0d7551 (patch)
tree2e8eab59d93b24e496576be0ccdcfc3bf70d54bf /src/DecoderInternal.hxx
parent762c91b7f1024ff81d3dd39b217995d817030ef8 (diff)
pcm_convert: convert to C++
Diffstat (limited to 'src/DecoderInternal.hxx')
-rw-r--r--src/DecoderInternal.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/DecoderInternal.hxx b/src/DecoderInternal.hxx
index ae50a62e..3423e3f9 100644
--- a/src/DecoderInternal.hxx
+++ b/src/DecoderInternal.hxx
@@ -21,7 +21,7 @@
#define MPD_DECODER_INTERNAL_HXX
#include "decoder_command.h"
-#include "pcm_convert.h"
+#include "PcmConvert.hxx"
#include "replay_gain_info.h"
struct input_stream;
@@ -29,7 +29,7 @@ struct input_stream;
struct decoder {
struct decoder_control *dc;
- struct pcm_convert_state conv_state;
+ PcmConvert conv_state;
/**
* The time stamp of the next data chunk, in seconds.
@@ -91,7 +91,6 @@ struct decoder {
song_tag(_tag), stream_tag(nullptr), decoder_tag(nullptr),
chunk(nullptr),
replay_gain_serial(0) {
- pcm_convert_init(&conv_state);
}
~decoder();