doom3-gpl
Doom 3 GPL source release
|
Public Member Functions | |
idAudioHardwareWIN32 () | |
~idAudioHardwareWIN32 () | |
bool | Initialize () |
bool | InitializeSpeakers (byte *buffer, int bufferSize, dword dwPrimaryFreq, dword dwPrimaryBitRate, dword dwSpeakers) |
void | SetPrimaryBufferFormat (dword dwPrimaryFreq, dword dwPrimaryBitRate, dword dwSpeakers) |
int | Create (idWaveFile *pWaveFile, idAudioBuffer **ppiab) |
int | Create (idAudioBuffer **ppSound, const char *strWaveFileName, dword dwCreationFlags=0) |
int | CreateFromMemory (idAudioBufferWIN32 **ppSound, byte *pbData, ulong ulDataSize, waveformatextensible_t *pwfx, dword dwCreationFlags=0) |
bool | Lock (void **pDSLockedBuffer, ulong *dwDSLockedBufferSize) |
bool | Unlock (void *pDSLockedBuffer, dword dwDSLockedBufferSize) |
bool | GetCurrentPosition (ulong *pdwCurrentWriteCursor) |
int | GetNumberOfSpeakers () |
int | GetMixBufferSize () |
bool | Flush (void) |
void | Write (bool) |
short * | GetMixBuffer (void) |
Public Member Functions inherited from idAudioHardware | |
virtual | ~idAudioHardware () |
Private Attributes | |
LPDIRECTSOUND | m_pDS |
LPDIRECTSOUNDBUFFER | pDSBPrimary |
idAudioBufferWIN32 * | speakers |
int | numSpeakers |
int | bitsPerSample |
int | bufferSize |
int | blockAlign |
Additional Inherited Members | |
Static Public Member Functions inherited from idAudioHardware | |
static idAudioHardware * | Alloc () |
Definition at line 70 of file win_snd.cpp.
idAudioHardwareWIN32::idAudioHardwareWIN32 | ( | ) |
Definition at line 116 of file win_snd.cpp.
idAudioHardwareWIN32::~idAudioHardwareWIN32 | ( | ) |
Definition at line 127 of file win_snd.cpp.
int idAudioHardwareWIN32::Create | ( | idWaveFile * | pWaveFile, |
idAudioBuffer ** | ppiab | ||
) |
Definition at line 373 of file win_snd.cpp.
int idAudioHardwareWIN32::Create | ( | idAudioBuffer ** | ppSound, |
const char * | strWaveFileName, | ||
dword | dwCreationFlags = 0 |
||
) |
Definition at line 313 of file win_snd.cpp.
int idAudioHardwareWIN32::CreateFromMemory | ( | idAudioBufferWIN32 ** | ppSound, |
byte * | pbData, | ||
ulong | ulDataSize, | ||
waveformatextensible_t * | pwfx, | ||
dword | dwCreationFlags = 0 |
||
) |
Definition at line 426 of file win_snd.cpp.
Implements idAudioHardware.
Definition at line 93 of file win_snd.cpp.
Implements idAudioHardware.
Definition at line 498 of file win_snd.cpp.
|
inlinevirtual |
Implements idAudioHardware.
Definition at line 95 of file win_snd.cpp.
Implements idAudioHardware.
Definition at line 90 of file win_snd.cpp.
Implements idAudioHardware.
Definition at line 89 of file win_snd.cpp.
Implements idAudioHardware.
Definition at line 138 of file win_snd.cpp.
bool idAudioHardwareWIN32::InitializeSpeakers | ( | byte * | buffer, |
int | bufferSize, | ||
dword | dwPrimaryFreq, | ||
dword | dwPrimaryBitRate, | ||
dword | dwSpeakers | ||
) |
Definition at line 162 of file win_snd.cpp.
Implements idAudioHardware.
Definition at line 474 of file win_snd.cpp.
void idAudioHardwareWIN32::SetPrimaryBufferFormat | ( | dword | dwPrimaryFreq, |
dword | dwPrimaryBitRate, | ||
dword | dwSpeakers | ||
) |
Definition at line 219 of file win_snd.cpp.
Implements idAudioHardware.
Definition at line 486 of file win_snd.cpp.
Implements idAudioHardware.
Definition at line 94 of file win_snd.cpp.
|
private |
Definition at line 103 of file win_snd.cpp.
|
private |
Definition at line 105 of file win_snd.cpp.
|
private |
Definition at line 104 of file win_snd.cpp.
|
private |
Definition at line 98 of file win_snd.cpp.
|
private |
Definition at line 102 of file win_snd.cpp.
|
private |
Definition at line 99 of file win_snd.cpp.
|
private |
Definition at line 100 of file win_snd.cpp.