diff options
author | Max Kellermann <max@musicpd.org> | 2016-11-18 07:59:01 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-11-18 09:03:41 +0100 |
commit | 66fb352ccaac94a1ca5b6ac261ea15e790217f16 (patch) | |
tree | d9e2731f1a7398d11cf57c252e328f477f80c4a0 /src/decoder/plugins/MpcdecDecoderPlugin.cxx | |
parent | fd77acc217340aeee3dc80173b6000815ebb709f (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.cxx | 5 |
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 { |