Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SoundManager::SoundData Struct Reference

Holds data about the loaded sounds. More...

#include <SoundManager.h>


Detailed Description

Holds data about the loaded sounds.

Definition at line 191 of file SoundManager.h.

List of all members.

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 1070 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

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

Definition at line 194 of file SoundManager.h.

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

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

Definition at line 201 of file SoundManager.h.

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

Definition at line 193 of file SoundManager.h.

reference counter

Definition at line 196 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 197 of file SoundManager.h.


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:17 2016 by Doxygen 1.6.3