Homepage Demos Overview Downloads Tutorials Reference
Credits

SoundManager::SoundData Struct Reference

#include <SoundManager.h>

List of all members.


Detailed Description

Holds data about the loaded sounds.

Definition at line 205 of file SoundManager.h.

Public Member Functions

 SoundData ()
 constructor

Public Attributes

RCRegion * rcr
 shared region - don't need to share among processes, just collect in SoundPlay
byte * data
 point to data in region (for convenience, only valid in SoundPlay)
unsigned int len
 size of the sound
unsigned int ref
 reference counter
char name [SoundManager::MAX_NAME_LEN]
 stores the path to the file, empty if from a buffer

Private Member Functions

 SoundData (const SoundData &)
 don't call
SoundData operator= (const SoundData &)
 don't call


Constructor & Destructor Documentation

SoundManager::SoundData::SoundData  ) 
 

constructor

Definition at line 681 of file SoundManager.cc.

SoundManager::SoundData::SoundData const SoundData  )  [private]
 

don't call


Member Function Documentation

SoundData SoundManager::SoundData::operator= const SoundData  )  [private]
 

don't call


Member Data Documentation

byte* SoundManager::SoundData::data
 

point to data in region (for convenience, only valid in SoundPlay)

Definition at line 208 of file SoundManager.h.

Referenced by SoundManager::MixChannel(), SoundManager::MixChannelAdditively(), and SoundManager::updateChannels().

unsigned int SoundManager::SoundData::len
 

size of the sound

Definition at line 209 of file SoundManager.h.

Referenced by SoundManager::MixChannel(), SoundManager::MixChannelAdditively(), and SoundManager::updateChannels().

char SoundManager::SoundData::name[SoundManager::MAX_NAME_LEN]
 

stores the path to the file, empty if from a buffer

Definition at line 211 of file SoundManager.h.

Referenced by SoundData().

RCRegion* SoundManager::SoundData::rcr
 

shared region - don't need to share among processes, just collect in SoundPlay

Definition at line 207 of file SoundManager.h.

unsigned int SoundManager::SoundData::ref
 

reference counter

Definition at line 210 of file SoundManager.h.


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

Tekkotsu v2.2.2
Generated Tue Jan 4 15:45:32 2005 by Doxygen 1.4.0