Plasma Engine  2.0
Loading...
Searching...
No Matches
AudioThread.h
1#pragma once
2
3#include <AudioSystemPlugin/AudioSystemPluginDLL.h>
4
5#include <Foundation/Threading/Thread.h>
6
8class PL_AUDIOSYSTEMPLUGIN_DLL plAudioThread : public plThread
9{
10public:
12
13private:
14 friend class plAudioSystem;
15
16 plUInt32 Run() override;
17
18 class plAudioSystem* m_pAudioSystem = nullptr;
19 volatile bool m_bKeepRunning = true;
20};
The AudioSystem.
Definition AudioSystem.h:23
The audio thread. Responsible to process asynchronous audio requests.
Definition AudioThread.h:9
This class is the base class for platform independent long running threads.
Definition Thread.h:40
virtual plUInt32 Run()=0
The run function can be used to implement a long running task in a thread in a platform independent w...