mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
SoundPlayer: Fix read of uninitialized member variables on startup
I found these by running SoundPlayer under UserspaceEmulator. After boot we attempt to read from these values before they are initialized.
This commit is contained in:
parent
ddd75db007
commit
f9bed65130
1 changed files with 3 additions and 3 deletions
|
@ -86,9 +86,9 @@ protected:
|
|||
|
||||
private:
|
||||
Playlist m_playlist;
|
||||
PlayState m_play_state;
|
||||
LoopMode m_loop_mode;
|
||||
ShuffleMode m_shuffle_mode;
|
||||
PlayState m_play_state { PlayState::NoFileLoaded };
|
||||
LoopMode m_loop_mode { LoopMode::None };
|
||||
ShuffleMode m_shuffle_mode { ShuffleMode::None };
|
||||
|
||||
Audio::ConnectionFromClient& m_audio_client_connection;
|
||||
PlaybackManager m_playback_manager;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue