Tekkotsu 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 253 of file SoundManager.h.


Public Member Functions

 SoundData ()
 constructor

Public Attributes

RCRegionrcr
 shared region - don't need to share among processes, just collect in SoundPlay
bytedata
 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 800 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

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

Definition at line 255 of file SoundManager.h.

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

Definition at line 256 of file SoundManager.h.

Referenced by SoundManager::mixChannel(), SoundManager::mixChannelAdditively(), and SoundManager::updateChannels().

reference counter

Definition at line 258 of file SoundManager.h.

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 259 of file SoundManager.h.

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

Definition at line 260 of file SoundManager.h.

Referenced by SoundData().


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:42 2007 by Doxygen 1.5.4