[orbis-kernel] AudioOut: refactoring

This commit is contained in:
DH 2023-08-15 03:04:25 +03:00
parent 8f0a90d24b
commit 3d8cc28acd
4 changed files with 249 additions and 276 deletions

View file

@ -6,6 +6,7 @@
#include "utils/SharedCV.hpp"
#include "utils/SharedMutex.hpp"
#include "AudioOut.hpp"
#include "KernelAllocator.hpp"
#include "orbis/thread/types.hpp"
#include <algorithm>
@ -150,6 +151,7 @@ public:
Ref<RcBase> shmDevice;
Ref<RcBase> dmemDevice;
Ref<RcBase> blockpoolDevice;
AudioOut *audioOut = nullptr;
private:
mutable pthread_mutex_t m_heap_mtx;