decoder/Bridge: move code to DecoderControl::SetReady()
This commit is contained in:
@@ -254,6 +254,15 @@ struct DecoderControl {
|
||||
return HasFailed();
|
||||
}
|
||||
|
||||
/**
|
||||
* Transition this obejct from DecoderState::START to
|
||||
* DecoderState::DECODE.
|
||||
*
|
||||
* Caller must lock the object.
|
||||
*/
|
||||
void SetReady(const AudioFormat audio_format,
|
||||
bool _seekable, SignedSongTime _duration);
|
||||
|
||||
/**
|
||||
* Checks whether an error has occurred, and if so, rethrows
|
||||
* it.
|
||||
|
||||
Reference in New Issue
Block a user