FmodSound Class Reference

#include <fmod-soundsystem.h>

List of all members.


Detailed Description

FmodSound wrapper, gives it a name we can search for in a list.

Definition at line 29 of file fmod-soundsystem.h.


Public Member Functions

 FmodSound ()
 FmodSound (FMOD_SYSTEM *system, const QString &sound_name, const QString &file_name)
QString getSoundName ()
void addSound (FMOD_SYSTEM *, const char *, FMOD_SOUND **)
bool operator== (const FmodSound &other) const

Public Attributes

FMOD_SOUND * sound
FMOD_CHANNEL * channel
FMOD_RESULT result
QString name
QString filename

Constructor & Destructor Documentation

FmodSound::FmodSound (  )  [inline]

Definition at line 33 of file fmod-soundsystem.h.

FmodSound::FmodSound ( FMOD_SYSTEM *  system,
const QString sound_name,
const QString file_name 
) [inline]

Definition at line 34 of file fmod-soundsystem.h.

References addSound(), filename, name, sound, and QString::toAscii().

Here is the call graph for this function:


Member Function Documentation

QString FmodSound::getSoundName (  ) 

Definition at line 22 of file fmod-soundsystem.cpp.

References name.

void FmodSound::addSound ( FMOD_SYSTEM *  system,
const char *  name,
FMOD_SOUND **  sound 
)

Definition at line 13 of file fmod-soundsystem.cpp.

References DISTANCEFACTOR, ERRCHECK(), and result.

Referenced by FmodSound().

Here is the call graph for this function:

bool FmodSound::operator== ( const FmodSound other  )  const

Definition at line 28 of file fmod-soundsystem.cpp.

References name.


Member Data Documentation

FMOD_SOUND* FmodSound::sound

Definition at line 41 of file fmod-soundsystem.h.

Referenced by FmodSound(), and FmodSoundSystem::play().

FMOD_CHANNEL* FmodSound::channel

Definition at line 42 of file fmod-soundsystem.h.

Referenced by FmodSoundSystem::play().

FMOD_RESULT FmodSound::result

Definition at line 43 of file fmod-soundsystem.h.

Referenced by addSound().

QString FmodSound::name

Definition at line 44 of file fmod-soundsystem.h.

Referenced by FmodSound(), getSoundName(), operator==(), and FmodSystemPlugin::SaveSettings().

QString FmodSound::filename

Definition at line 45 of file fmod-soundsystem.h.

Referenced by FmodSound(), and FmodSystemPlugin::SaveSettings().


The documentation for this class was generated from the following files:
Generated on Sun Oct 28 22:51:41 2007 for BBoB by  doxygen 1.5.3