mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
AudioServer: Port threading to LibThread
This commit is contained in:
parent
d91efd4cd0
commit
1ac7fedefe
3 changed files with 9 additions and 8 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <LibAudio/ABuffer.h>
|
||||
#include <LibCore/CFile.h>
|
||||
#include <LibCore/CLock.h>
|
||||
#include <LibThread/Thread.h>
|
||||
|
||||
class ASClientConnection;
|
||||
|
||||
|
@ -65,6 +66,8 @@ private:
|
|||
CFile m_device;
|
||||
CLock m_lock;
|
||||
|
||||
LibThread::Thread m_sound_thread;
|
||||
|
||||
int m_main_volume { 100 };
|
||||
|
||||
void mix();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue