Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SOUND_CHANNEL Class Reference

#include <sound.h>

List of all members.

Public Methods

 SOUND_CHANNEL ()
 ~SOUND_CHANNEL ()
int Compare (const SOUND_CHANNEL &Channel)
int GetMyPosition () const
void SetMyPosition (int newPosition)

Public Attributes

int linkPosition
HCHANNEL hChannel
HSAMPLE hSample
BASS_3DVECTOR position
BASS_3DVECTOR orientation
BASS_3DVECTOR velocity
int direction
bool looped
bool intermittent
bool random
unsigned int lowerrand
unsigned int upperrand
unsigned int interval
unsigned int idEvent


Constructor & Destructor Documentation

SOUND_CHANNEL::SOUND_CHANNEL   [inline]
 

Definition at line 40 of file sound.h.

00040 {};

SOUND_CHANNEL::~SOUND_CHANNEL   [inline]
 

Definition at line 41 of file sound.h.

00041 {};


Member Function Documentation

int SOUND_CHANNEL::Compare const SOUND_CHANNEL &    Channel
 

Definition at line 30 of file sound.cpp.

References bigger, linkPosition, same, and smaller.

00031 {
00032     if (linkPosition < Channel.linkPosition)
00033         return smaller;
00034       if (linkPosition > Channel.linkPosition)
00035         return bigger;
00036       else
00037         return same;
00038 }

int SOUND_CHANNEL::GetMyPosition   const [inline]
 

Definition at line 44 of file sound.h.

References linkPosition.

00044 {return linkPosition;}

void SOUND_CHANNEL::SetMyPosition int    newPosition [inline]
 

Definition at line 45 of file sound.h.

References linkPosition.

00045 {linkPosition = newPosition;}


Member Data Documentation

int SOUND_CHANNEL::direction
 

Definition at line 53 of file sound.h.

HCHANNEL SOUND_CHANNEL::hChannel
 

Definition at line 48 of file sound.h.

Referenced by PlayChannel(), and UpdateChannel().

HSAMPLE SOUND_CHANNEL::hSample
 

Definition at line 49 of file sound.h.

Referenced by CreateChannel(), and PlayChannel().

unsigned int SOUND_CHANNEL::idEvent
 

Definition at line 60 of file sound.h.

bool SOUND_CHANNEL::intermittent
 

Definition at line 55 of file sound.h.

Referenced by SoundTimerProc().

unsigned int SOUND_CHANNEL::interval
 

Definition at line 59 of file sound.h.

int SOUND_CHANNEL::linkPosition
 

Definition at line 46 of file sound.h.

Referenced by Compare(), CreateChannel(), GetMyPosition(), and SetMyPosition().

bool SOUND_CHANNEL::looped
 

Definition at line 54 of file sound.h.

Referenced by SoundTimerProc().

unsigned int SOUND_CHANNEL::lowerrand
 

Definition at line 57 of file sound.h.

Referenced by SoundTimerProc().

BASS_3DVECTOR SOUND_CHANNEL::orientation
 

Definition at line 51 of file sound.h.

Referenced by UpdateChannel().

BASS_3DVECTOR SOUND_CHANNEL::position
 

Definition at line 50 of file sound.h.

Referenced by PlayChannel(), and UpdateChannel().

bool SOUND_CHANNEL::random
 

Definition at line 56 of file sound.h.

Referenced by SoundTimerProc().

unsigned int SOUND_CHANNEL::upperrand
 

Definition at line 58 of file sound.h.

Referenced by SoundTimerProc().

BASS_3DVECTOR SOUND_CHANNEL::velocity
 

Definition at line 52 of file sound.h.

Referenced by PlayChannel(), and UpdateChannel().


The documentation for this class was generated from the following files:
Generated on Fri Dec 23 05:15:52 2005 for Constructive Solid Geometry by doxygen1.2.15