1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:17:35 +00:00

AudioServer: Auto-pause new clients

This fixes a bunch of audio clients that don't actually play audio.
This commit is contained in:
kleines Filmröllchen 2022-02-20 14:09:46 +01:00 committed by Linus Groh
parent 49b087f3cd
commit 612dbdc671

View file

@ -86,7 +86,7 @@ private:
Array<Audio::Sample, Audio::AUDIO_BUFFER_SIZE> m_current_audio_chunk;
size_t m_in_chunk_location;
bool m_paused { false };
bool m_paused { true };
bool m_muted { false };
WeakPtr<ConnectionFromClient> m_client;