ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <fx_manager.h>

Collaboration diagram for ICB::FxManager:

List of all members.

Public Member Functions

 FxManager ()
 ~FxManager ()
int Register (const int32 id, const char *name, const int delay=0, uint32 byteOffsetInCluster=0)
void Unregister (int id)
void UnregisterAll ()
bool8 Poll ()
void Play (int id)
void Stop (int id)
void StopAll (void)
void SetVolume (int id, int vol)
void SetPitch (int id, int pitch)
void SetPan (int id, int pan)
void SetLooping (int id, int loop=1)
bool8 IsPlaying (int id)
int GetDefaultRate (const char *name, uint32 byteOffsetInCluster=0)
int GetDefaultLength (int id)

Private Member Functions

bool8 Load (int id, const char *name, uint32 byteOffsetInCluster=0)
int GetDefaultRateByID (int id)
int GetDefaultRateByName (const char *name, uint32 byteOffsetInCluster=0)

Private Attributes

Effect m_effects [MAX_FX]

Detailed Description

Definition at line 56 of file fx_manager.h.


Constructor & Destructor Documentation

ICB::FxManager::FxManager (  ) 

Definition at line 48 of file fx_manager.cpp.

ICB::FxManager::~FxManager (  ) 

Definition at line 61 of file fx_manager.cpp.


Member Function Documentation

int ICB::FxManager::GetDefaultLength ( int  id  )  [inline]

Definition at line 93 of file fx_manager.h.

int ICB::FxManager::GetDefaultRate ( const char *  name,
uint32  byteOffsetInCluster = 0 
)

Definition at line 254 of file fx_manager.cpp.

int ICB::FxManager::GetDefaultRateByID ( int  id  )  [inline, private]

Definition at line 99 of file fx_manager.h.

int ICB::FxManager::GetDefaultRateByName ( const char *  name,
uint32  byteOffsetInCluster = 0 
) [private]

Definition at line 272 of file fx_manager.cpp.

bool8 ICB::FxManager::IsPlaying ( int  id  )  [inline]

Definition at line 89 of file fx_manager.h.

bool8 ICB::FxManager::Load ( int  id,
const char *  name,
uint32  byteOffsetInCluster = 0 
) [private]

Definition at line 297 of file fx_manager.cpp.

void ICB::FxManager::Play ( int  id  ) 

Definition at line 185 of file fx_manager.cpp.

bool8 ICB::FxManager::Poll (  ) 

Definition at line 66 of file fx_manager.cpp.

int ICB::FxManager::Register ( const int32  id,
const char *  name,
const int  delay = 0,
uint32  byteOffsetInCluster = 0 
)

Definition at line 145 of file fx_manager.cpp.

void ICB::FxManager::SetLooping ( int  id,
int  loop = 1 
) [inline]

Definition at line 88 of file fx_manager.h.

void ICB::FxManager::SetPan ( int  id,
int  pan 
)

Definition at line 202 of file fx_manager.cpp.

void ICB::FxManager::SetPitch ( int  id,
int  pitch 
)

Definition at line 209 of file fx_manager.cpp.

void ICB::FxManager::SetVolume ( int  id,
int  vol 
)

Definition at line 195 of file fx_manager.cpp.

void ICB::FxManager::Stop ( int  id  ) 

Definition at line 216 of file fx_manager.cpp.

void ICB::FxManager::StopAll ( void   ) 

Definition at line 228 of file fx_manager.cpp.

void ICB::FxManager::Unregister ( int  id  ) 

Definition at line 170 of file fx_manager.cpp.

void ICB::FxManager::UnregisterAll (  ) 

Definition at line 242 of file fx_manager.cpp.


Member Data Documentation

Effect ICB::FxManager::m_effects[MAX_FX] [private]

Definition at line 58 of file fx_manager.h.


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


Generated on Sat Sep 19 2020 05:05:40 for ResidualVM by doxygen 1.7.1
curved edge   curved edge