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

#include <snd_local.h>

Inheritance diagram for SoundFX:
SoundFX_Comb SoundFX_Lowpass SoundFX_LowpassFast

Public Member Functions

 SoundFX ()
 
virtual ~SoundFX ()
 
virtual void Initialize ()
 
virtual void ProcessSample (float *in, float *out)=0
 
void SetChannel (int chan)
 
int GetChannel ()
 
void SetContinuitySamples (float in1, float in2, float out1, float out2)
 
void GetContinuitySamples (float &in1, float &in2, float &out1, float &out2)
 
void SetParameter (float val)
 

Protected Attributes

bool initialized
 
int channel
 
int maxlen
 
floatbuffer
 
float continuitySamples [4]
 
float param
 

Detailed Description

Definition at line 302 of file snd_local.h.

Constructor & Destructor Documentation

SoundFX::SoundFX ( )
inline

Definition at line 315 of file snd_local.h.

virtual SoundFX::~SoundFX ( )
inlinevirtual

Definition at line 316 of file snd_local.h.

Member Function Documentation

int SoundFX::GetChannel ( )
inline

Definition at line 322 of file snd_local.h.

void SoundFX::GetContinuitySamples ( float in1,
float in2,
float out1,
float out2 
)
inline

Definition at line 325 of file snd_local.h.

virtual void SoundFX::Initialize ( void  )
inlinevirtual

Reimplemented in SoundFX_Comb.

Definition at line 318 of file snd_local.h.

virtual void SoundFX::ProcessSample ( float in,
float out 
)
pure virtual
void SoundFX::SetChannel ( int  chan)
inline

Definition at line 321 of file snd_local.h.

void SoundFX::SetContinuitySamples ( float  in1,
float  in2,
float  out1,
float  out2 
)
inline

Definition at line 324 of file snd_local.h.

void SoundFX::SetParameter ( float  val)
inline

Definition at line 327 of file snd_local.h.

Member Data Documentation

float* SoundFX::buffer
protected

Definition at line 309 of file snd_local.h.

int SoundFX::channel
protected

Definition at line 306 of file snd_local.h.

float SoundFX::continuitySamples[4]
protected

Definition at line 310 of file snd_local.h.

bool SoundFX::initialized
protected

Definition at line 304 of file snd_local.h.

int SoundFX::maxlen
protected

Definition at line 307 of file snd_local.h.

float SoundFX::param
protected

Definition at line 312 of file snd_local.h.


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