player/Thread: initialize play_audio_format, fixes assertion
This fixes an assertion failure caused by resuming playback before the decoder has finished startup.
This commit is contained in:
@@ -135,7 +135,7 @@ class Player {
|
||||
/**
|
||||
* The current audio format for the audio outputs.
|
||||
*/
|
||||
AudioFormat play_audio_format;
|
||||
AudioFormat play_audio_format = AudioFormat::Undefined();
|
||||
|
||||
/**
|
||||
* The time stamp of the chunk most recently sent to the
|
||||
|
Reference in New Issue
Block a user