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

SOUND_SAMPLE Class Reference

#include <sound.h>

List of all members.

Public Methods

 SOUND_SAMPLE ()
 ~SOUND_SAMPLE ()
int Compare (const SOUND_SAMPLE &Sample)
int GetMyPosition () const
void SetMyPosition (int newPosition)

Public Attributes

int linkPosition
HSAMPLE hSample
char name [32]
int max
DWORD flags
DWORD volume
float mindist
float maxdist


Constructor & Destructor Documentation

SOUND_SAMPLE::SOUND_SAMPLE   [inline]
 

Definition at line 20 of file sound.h.

00020 {};

SOUND_SAMPLE::~SOUND_SAMPLE   [inline]
 

Definition at line 21 of file sound.h.

00021 {};


Member Function Documentation

int SOUND_SAMPLE::Compare const SOUND_SAMPLE &    Sample
 

Definition at line 20 of file sound.cpp.

References bigger, linkPosition, same, and smaller.

00021 {
00022     if (linkPosition < Sample.linkPosition)
00023         return smaller;
00024       if (linkPosition > Sample.linkPosition)
00025         return bigger;
00026       else
00027         return same;
00028 }

int SOUND_SAMPLE::GetMyPosition   const [inline]
 

Definition at line 24 of file sound.h.

References linkPosition.

00024 {return linkPosition;}

void SOUND_SAMPLE::SetMyPosition int    newPosition [inline]
 

Definition at line 25 of file sound.h.

References linkPosition.

00025 {linkPosition = newPosition;}


Member Data Documentation

DWORD SOUND_SAMPLE::flags
 

Definition at line 31 of file sound.h.

Referenced by CreateSounds(), and LoadSample().

HSAMPLE SOUND_SAMPLE::hSample
 

Definition at line 28 of file sound.h.

Referenced by CreateChannel(), and LoadSample().

int SOUND_SAMPLE::linkPosition
 

Definition at line 26 of file sound.h.

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

int SOUND_SAMPLE::max
 

Definition at line 30 of file sound.h.

Referenced by CreateSounds(), and LoadSample().

float SOUND_SAMPLE::maxdist
 

Definition at line 34 of file sound.h.

Referenced by CreateSounds(), and LoadSample().

float SOUND_SAMPLE::mindist
 

Definition at line 33 of file sound.h.

Referenced by CreateSounds(), and LoadSample().

char SOUND_SAMPLE::name[32]
 

Definition at line 29 of file sound.h.

Referenced by CreateSounds(), and LoadSample().

DWORD SOUND_SAMPLE::volume
 

Definition at line 32 of file sound.h.

Referenced by CreateSounds(), and LoadSample().


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