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

#include <snd_local.h>

Public Member Functions

void AttachSoundChannel (const idSoundChannel *chan)
 
void Reset ()
 
void GatherChannelSamples (int sampleOffset44k, int sampleCount44k, float *dest)
 
bool IsActive ()
 
FracTime GetCurrentPosition ()
 

Private Member Functions

void GenerateSlowChannel (FracTime &playPos, int sampleCount44k, float *finalBuffer)
 
float GetSlowmoSpeed ()
 

Private Attributes

bool active
 
const idSoundChannelchan
 
int playbackState
 
int triggerOffset
 
FracTime newPosition
 
int newSampleOffset
 
FracTime curPosition
 
int curSampleOffset
 
SoundFX_LowpassFast lowpass
 

Detailed Description

Definition at line 370 of file snd_local.h.

Member Function Documentation

void idSlowChannel::AttachSoundChannel ( const idSoundChannel chan)

Definition at line 1124 of file snd_emitter.cpp.

void idSlowChannel::GatherChannelSamples ( int  sampleOffset44k,
int  sampleCount44k,
float dest 
)

Definition at line 1205 of file snd_emitter.cpp.

void idSlowChannel::GenerateSlowChannel ( FracTime playPos,
int  sampleCount44k,
float finalBuffer 
)
private

Definition at line 1148 of file snd_emitter.cpp.

FracTime idSlowChannel::GetCurrentPosition ( )
inline

Definition at line 398 of file snd_local.h.

float idSlowChannel::GetSlowmoSpeed ( )
private

Definition at line 1133 of file snd_emitter.cpp.

bool idSlowChannel::IsActive ( void  )
inline

Definition at line 397 of file snd_local.h.

void idSlowChannel::Reset ( void  )

Definition at line 1105 of file snd_emitter.cpp.

Member Data Documentation

bool idSlowChannel::active
private

Definition at line 371 of file snd_local.h.

const idSoundChannel* idSlowChannel::chan
private

Definition at line 372 of file snd_local.h.

FracTime idSlowChannel::curPosition
private

Definition at line 380 of file snd_local.h.

int idSlowChannel::curSampleOffset
private

Definition at line 381 of file snd_local.h.

SoundFX_LowpassFast idSlowChannel::lowpass
private

Definition at line 383 of file snd_local.h.

FracTime idSlowChannel::newPosition
private

Definition at line 377 of file snd_local.h.

int idSlowChannel::newSampleOffset
private

Definition at line 378 of file snd_local.h.

int idSlowChannel::playbackState
private

Definition at line 374 of file snd_local.h.

int idSlowChannel::triggerOffset
private

Definition at line 375 of file snd_local.h.


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