diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 23:40:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-31 00:26:55 +0100 |
commit | 361404fd59e817560e4564f15466e94c2a0d7551 (patch) | |
tree | 2e8eab59d93b24e496576be0ccdcfc3bf70d54bf /src/DecoderInternal.hxx | |
parent | 762c91b7f1024ff81d3dd39b217995d817030ef8 (diff) | |
download | mpd-361404fd59e817560e4564f15466e94c2a0d7551.tar.gz mpd-361404fd59e817560e4564f15466e94c2a0d7551.tar.xz mpd-361404fd59e817560e4564f15466e94c2a0d7551.zip |
pcm_convert: convert to C++
Diffstat (limited to 'src/DecoderInternal.hxx')
-rw-r--r-- | src/DecoderInternal.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/DecoderInternal.hxx b/src/DecoderInternal.hxx index ae50a62e2..3423e3f95 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(); |