decoder/Client: add virtual method Ready()
Replaces decoder_initialized().
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user