summaryrefslogtreecommitdiff
path: root/src/decoder/plugins/MpcdecDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-11-18 07:59:01 +0100
committerMax Kellermann <max@musicpd.org>2016-11-18 09:03:41 +0100
commit66fb352ccaac94a1ca5b6ac261ea15e790217f16 (patch)
treed9e2731f1a7398d11cf57c252e328f477f80c4a0 /src/decoder/plugins/MpcdecDecoderPlugin.cxx
parentfd77acc217340aeee3dc80173b6000815ebb709f (diff)
decoder/Client: add virtual method Ready()
Replaces decoder_initialized().
Diffstat (limited to 'src/decoder/plugins/MpcdecDecoderPlugin.cxx')
-rw-r--r--src/decoder/plugins/MpcdecDecoderPlugin.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/decoder/plugins/MpcdecDecoderPlugin.cxx b/src/decoder/plugins/MpcdecDecoderPlugin.cxx
index bbf850a16..2acb1968d 100644
--- a/src/decoder/plugins/MpcdecDecoderPlugin.cxx
+++ b/src/decoder/plugins/MpcdecDecoderPlugin.cxx
@@ -174,9 +174,8 @@ mpcdec_decode(DecoderClient &client, InputStream &is)
decoder_replay_gain(client, &rgi);
- decoder_initialized(client, audio_format,
- is.IsSeekable(),
- SongTime::FromS(mpc_streaminfo_get_length(&info)));
+ client.Ready(audio_format, is.IsSeekable(),
+ SongTime::FromS(mpc_streaminfo_get_length(&info)));
DecoderCommand cmd = DecoderCommand::NONE;
do {