diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2020-09-18 09:49:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-25 21:18:17 +0200 |
commit | 934d4d4033ce9683bfdb0208fd321c2a7cf462c6 (patch) | |
tree | 706af3f3331b289453eec06e96d8e35541ae39ef /Services/AudioServer | |
parent | 42dd0675c0efad2a27f95ca535b72e029b6ebf37 (diff) | |
download | serenity-934d4d4033ce9683bfdb0208fd321c2a7cf462c6.zip |
Meta+Services: Make clang-format-10 clean
Diffstat (limited to 'Services/AudioServer')
-rw-r--r-- | Services/AudioServer/Mixer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Services/AudioServer/Mixer.h b/Services/AudioServer/Mixer.h index 980a1ecaa3..427b9eca27 100644 --- a/Services/AudioServer/Mixer.h +++ b/Services/AudioServer/Mixer.h @@ -45,7 +45,7 @@ class ClientConnection; class BufferQueue : public RefCounted<BufferQueue> { public: explicit BufferQueue(ClientConnection&); - ~BufferQueue() {} + ~BufferQueue() { } bool is_full() const { return m_queue.size() >= 3; } void enqueue(NonnullRefPtr<Audio::Buffer>&&); @@ -102,10 +102,10 @@ public: private: RefPtr<Audio::Buffer> m_current; Queue<NonnullRefPtr<Audio::Buffer>> m_queue; - int m_position{ 0 }; - int m_remaining_samples{ 0 }; - int m_played_samples{ 0 }; - bool m_paused{ false }; + int m_position { 0 }; + int m_remaining_samples { 0 }; + int m_played_samples { 0 }; + bool m_paused { false }; WeakPtr<ClientConnection> m_client; }; @@ -132,10 +132,10 @@ private: LibThread::Thread m_sound_thread; - bool m_muted{ false }; - int m_main_volume{ 100 }; + bool m_muted { false }; + int m_main_volume { 100 }; - u8* m_zero_filled_buffer{ nullptr }; + u8* m_zero_filled_buffer { nullptr }; void mix(); }; |