doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
idWaveFile Class Reference

#include <snd_local.h>

Public Member Functions

 idWaveFile (void)
 
 ~idWaveFile (void)
 
int Open (const char *strFileName, waveformatex_t *pwfx=NULL)
 
int OpenFromMemory (short *pbData, int ulDataSize, waveformatextensible_t *pwfx)
 
int Read (byte *pBuffer, int dwSizeToRead, int *pdwSizeRead)
 
int Seek (int offset)
 
int Close (void)
 
int ResetFile (void)
 
int GetOutputSize (void)
 
int GetMemorySize (void)
 

Public Attributes

waveformatextensible_t mpwfx
 

Private Member Functions

int ReadMMIO (void)
 
int OpenOGG (const char *strFileName, waveformatex_t *pwfx=NULL)
 
int ReadOGG (byte *pBuffer, int dwSizeToRead, int *pdwSizeRead)
 
int CloseOGG (void)
 

Private Attributes

idFilemhmmio
 
mminfo_t mck
 
mminfo_t mckRiff
 
dword mdwSize
 
dword mMemSize
 
dword mseekBase
 
ID_TIME_T mfileTime
 
bool mbIsReadingFromMemory
 
short * mpbData
 
short * mpbDataCur
 
dword mulDataSize
 
voidogg
 
bool isOgg
 

Detailed Description

Definition at line 183 of file snd_local.h.

Constructor & Destructor Documentation

idWaveFile::idWaveFile ( void  )

Definition at line 40 of file snd_wavefile.cpp.

idWaveFile::~idWaveFile ( void  )

Definition at line 55 of file snd_wavefile.cpp.

Member Function Documentation

int idWaveFile::Close ( void  )

Definition at line 318 of file snd_wavefile.cpp.

int idWaveFile::CloseOGG ( void  )
private

Definition at line 258 of file snd_decoder.cpp.

int idWaveFile::GetMemorySize ( void  )
inline

Definition at line 196 of file snd_local.h.

int idWaveFile::GetOutputSize ( void  )
inline

Definition at line 195 of file snd_local.h.

int idWaveFile::Open ( const char *  strFileName,
waveformatex_t pwfx = NULL 
)

Definition at line 69 of file snd_wavefile.cpp.

int idWaveFile::OpenFromMemory ( short *  pbData,
int  ulDataSize,
waveformatextensible_t pwfx 
)

Definition at line 129 of file snd_wavefile.cpp.

int idWaveFile::OpenOGG ( const char *  strFileName,
waveformatex_t pwfx = NULL 
)
private

Definition at line 162 of file snd_decoder.cpp.

int idWaveFile::Read ( byte pBuffer,
int  dwSizeToRead,
int pdwSizeRead 
)

Definition at line 268 of file snd_wavefile.cpp.

int idWaveFile::ReadMMIO ( void  )
private

Definition at line 147 of file snd_wavefile.cpp.

int idWaveFile::ReadOGG ( byte pBuffer,
int  dwSizeToRead,
int pdwSizeRead 
)
private

Definition at line 227 of file snd_decoder.cpp.

int idWaveFile::ResetFile ( void  )

Definition at line 228 of file snd_wavefile.cpp.

int idWaveFile::Seek ( int  offset)

Definition at line 332 of file snd_wavefile.cpp.

Member Data Documentation

bool idWaveFile::isOgg
private

Definition at line 215 of file snd_local.h.

bool idWaveFile::mbIsReadingFromMemory
private

Definition at line 209 of file snd_local.h.

mminfo_t idWaveFile::mck
private

Definition at line 202 of file snd_local.h.

mminfo_t idWaveFile::mckRiff
private

Definition at line 203 of file snd_local.h.

dword idWaveFile::mdwSize
private

Definition at line 204 of file snd_local.h.

ID_TIME_T idWaveFile::mfileTime
private

Definition at line 207 of file snd_local.h.

idFile* idWaveFile::mhmmio
private

Definition at line 201 of file snd_local.h.

dword idWaveFile::mMemSize
private

Definition at line 205 of file snd_local.h.

short* idWaveFile::mpbData
private

Definition at line 210 of file snd_local.h.

short* idWaveFile::mpbDataCur
private

Definition at line 211 of file snd_local.h.

waveformatextensible_t idWaveFile::mpwfx

Definition at line 198 of file snd_local.h.

dword idWaveFile::mseekBase
private

Definition at line 206 of file snd_local.h.

dword idWaveFile::mulDataSize
private

Definition at line 212 of file snd_local.h.

void* idWaveFile::ogg
private

Definition at line 214 of file snd_local.h.


The documentation for this class was generated from the following files: