doom3-gpl
Doom 3 GPL source release
|
Public Member Functions | |
idAudioBufferWIN32 (LPDIRECTSOUNDBUFFER apDSBuffer, dword dwDSBufferSize, idWaveFile *pWaveFile=NULL) | |
~idAudioBufferWIN32 () | |
int | FillBufferWithSound (LPDIRECTSOUNDBUFFER pDSB, bool bRepeatWavIfBufferLarger) |
bool | Lock (void **pDSLockedBuffer, ulong *dwDSLockedBufferSize) |
bool | Unlock (void *pDSLockedBuffer, dword dwDSLockedBufferSize) |
bool | GetCurrentPosition (ulong *pdwCurrentWriteCursor) |
int | Play (dword dwPriority=0, dword dwFlags=0) |
int | Stop (void) |
int | Reset (void) |
bool | IsSoundPlaying (void) |
void | SetVolume (float x) |
Public Attributes | |
idWaveFile * | m_pWaveFile |
Private Member Functions | |
int | RestoreBuffer (LPDIRECTSOUNDBUFFER pDSB, bool *pbWasRestored) |
Private Attributes | |
LPDIRECTSOUNDBUFFER | m_apDSBuffer |
dword | m_dwDSBufferSize |
Definition at line 45 of file win_snd.cpp.
idAudioBufferWIN32::idAudioBufferWIN32 | ( | LPDIRECTSOUNDBUFFER | apDSBuffer, |
dword | dwDSBufferSize, | ||
idWaveFile * | pWaveFile = NULL |
||
) |
Definition at line 554 of file win_snd.cpp.
idAudioBufferWIN32::~idAudioBufferWIN32 | ( | ) |
Definition at line 573 of file win_snd.cpp.
int idAudioBufferWIN32::FillBufferWithSound | ( | LPDIRECTSOUNDBUFFER | pDSB, |
bool | bRepeatWavIfBufferLarger | ||
) |
Definition at line 585 of file win_snd.cpp.
Definition at line 822 of file win_snd.cpp.
Implements idAudioBuffer.
Definition at line 771 of file win_snd.cpp.
Definition at line 791 of file win_snd.cpp.
Implements idAudioBuffer.
Definition at line 706 of file win_snd.cpp.
Implements idAudioBuffer.
Definition at line 755 of file win_snd.cpp.
Definition at line 661 of file win_snd.cpp.
Implements idAudioBuffer.
Definition at line 843 of file win_snd.cpp.
Implements idAudioBuffer.
Definition at line 739 of file win_snd.cpp.
Definition at line 811 of file win_snd.cpp.
|
private |
Definition at line 64 of file win_snd.cpp.
|
private |
Definition at line 65 of file win_snd.cpp.
idWaveFile* idAudioBufferWIN32::m_pWaveFile |
Definition at line 62 of file win_snd.cpp.