mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:27:34 +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:
|
private:
|
||||||
Playlist m_playlist;
|
Playlist m_playlist;
|
||||||
PlayState m_play_state;
|
PlayState m_play_state { PlayState::NoFileLoaded };
|
||||||
LoopMode m_loop_mode;
|
LoopMode m_loop_mode { LoopMode::None };
|
||||||
ShuffleMode m_shuffle_mode;
|
ShuffleMode m_shuffle_mode { ShuffleMode::None };
|
||||||
|
|
||||||
Audio::ConnectionFromClient& m_audio_client_connection;
|
Audio::ConnectionFromClient& m_audio_client_connection;
|
||||||
PlaybackManager m_playback_manager;
|
PlaybackManager m_playback_manager;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue