From 361404fd59e817560e4564f15466e94c2a0d7551 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jan 2013 23:40:56 +0100 Subject: pcm_convert: convert to C++ --- src/DecoderInternal.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/DecoderInternal.hxx') 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(); -- cgit v1.2.3