Etterna
0.74.4
Loading...
Searching...
No Matches
src
arch
Sound
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
8
class
RageSoundDriver_DSound_Software
:
public
RageSoundDriver
9
{
10
public
:
11
RageSoundDriver_DSound_Software
();
12
virtual
~RageSoundDriver_DSound_Software
();
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
DSoundBuf
Definition
DSoundHelpers.h:33
DSound
Definition
DSoundHelpers.h:13
RageSoundDriver_DSound_Software
Definition
RageSoundDriver_DSound_Software.h:9
RageSoundDriver
Definition
RageSoundDriver.h:15
RageThread
Thread, mutex, semaphore, and event classes.
Definition
RageThreads.h:155
Generated by
1.9.8