mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
Meta+Services: Make clang-format-10 clean
This commit is contained in:
parent
42dd0675c0
commit
934d4d4033
8 changed files with 32 additions and 30 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue