Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SoundManager::SoundData Struct Reference

#include <SoundManager.h>

List of all members.


Detailed Description

Holds data about the loaded sounds.

Definition at line 223 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
unsigned int sn
 serial number, allows us to verify that a given message buffer does indeed match this sound, and wasn't delayed in processing
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 798 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 226 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 227 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 230 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 225 of file SoundManager.h.

unsigned int SoundManager::SoundData::ref
 

reference counter

Definition at line 228 of file SoundManager.h.

unsigned int SoundManager::SoundData::sn
 

serial number, allows us to verify that a given message buffer does indeed match this sound, and wasn't delayed in processing

Definition at line 229 of file SoundManager.h.


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

Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:09 2005 by Doxygen 1.4.4