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

#include <snd_local.h>

Public Member Functions

 idSoundSample ()
 
 ~idSoundSample ()
 
int LengthIn44kHzSamples () const
 
ID_TIME_T GetNewTimeStamp (void) const
 
void MakeDefault ()
 
void Load ()
 
void Reload (bool force)
 
void PurgeSoundSample ()
 
void CheckForDownSample ()
 
bool FetchFromCache (int offset, const byte **output, int *position, int *size, const bool allowIO)
 

Public Attributes

idStr name
 
ID_TIME_T timestamp
 
waveformatex_t objectInfo
 
int objectSize
 
int objectMemSize
 
bytenonCacheData
 
byteamplitudeData
 
ALuint openalBuffer
 
bool hardwareBuffer
 
bool defaultSound
 
bool onDemand
 
bool purged
 
bool levelLoadReferenced
 

Detailed Description

Definition at line 838 of file snd_local.h.

Constructor & Destructor Documentation

idSoundSample::idSoundSample ( )

Definition at line 289 of file snd_cache.cpp.

idSoundSample::~idSoundSample ( )

Definition at line 308 of file snd_cache.cpp.

Member Function Documentation

void idSoundSample::CheckForDownSample ( void  )

Definition at line 382 of file snd_cache.cpp.

bool idSoundSample::FetchFromCache ( int  offset,
const byte **  output,
int position,
int size,
const bool  allowIO 
)

Definition at line 689 of file snd_cache.cpp.

ID_TIME_T idSoundSample::GetNewTimeStamp ( void  ) const

Definition at line 415 of file snd_cache.cpp.

int idSoundSample::LengthIn44kHzSamples ( void  ) const

Definition at line 317 of file snd_cache.cpp.

void idSoundSample::Load ( void  )

Definition at line 434 of file snd_cache.cpp.

void idSoundSample::MakeDefault ( void  )

Definition at line 333 of file snd_cache.cpp.

void idSoundSample::PurgeSoundSample ( )

Definition at line 628 of file snd_cache.cpp.

void idSoundSample::Reload ( bool  force)

Definition at line 658 of file snd_cache.cpp.

Member Data Documentation

byte* idSoundSample::amplitudeData

Definition at line 850 of file snd_local.h.

bool idSoundSample::defaultSound

Definition at line 853 of file snd_local.h.

bool idSoundSample::hardwareBuffer

Definition at line 852 of file snd_local.h.

bool idSoundSample::levelLoadReferenced

Definition at line 856 of file snd_local.h.

idStr idSoundSample::name

Definition at line 843 of file snd_local.h.

byte* idSoundSample::nonCacheData

Definition at line 849 of file snd_local.h.

waveformatex_t idSoundSample::objectInfo

Definition at line 846 of file snd_local.h.

int idSoundSample::objectMemSize

Definition at line 848 of file snd_local.h.

int idSoundSample::objectSize

Definition at line 847 of file snd_local.h.

bool idSoundSample::onDemand

Definition at line 854 of file snd_local.h.

ALuint idSoundSample::openalBuffer

Definition at line 851 of file snd_local.h.

bool idSoundSample::purged

Definition at line 855 of file snd_local.h.

ID_TIME_T idSoundSample::timestamp

Definition at line 844 of file snd_local.h.


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