Etterna 0.74.4
Loading...
Searching...
No Matches
RageSoundDriver_DSound_Software.h
1#ifndef RAGE_SOUND_GENERIC_TEST
2#define RAGE_SOUND_GENERIC_TEST
3
4#include "DSoundHelpers.h"
5#include "RageUtil/Misc/RageThreads.h"
6#include "RageSoundDriver.h"
7
9{
10 public:
13 std::string Init();
14
15 int64_t GetPosition() const;
16 float GetPlayLatency() const;
17 int GetSampleRate() const;
18
19 protected:
20 void SetupDecodingThread();
21
22 private:
23 DSound ds;
24 DSoundBuf* m_pPCM;
25 int m_iSampleRate;
26
27 bool m_bShutdownMixerThread;
28
29 static int MixerThread_start(void* p);
30 void MixerThread();
31 RageThread m_MixingThread;
32};
33
34#endif
Definition DSoundHelpers.h:33
Definition DSoundHelpers.h:13
Definition RageSoundDriver_DSound_Software.h:9
Definition RageSoundDriver.h:15
Thread, mutex, semaphore, and event classes.
Definition RageThreads.h:155