#include <fmod-soundsystem.h>
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 |
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().
QString FmodSound::getSoundName | ( | ) |
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().
bool FmodSound::operator== | ( | const FmodSound & | other | ) | const |
FMOD_SOUND* FmodSound::sound |
Definition at line 41 of file fmod-soundsystem.h.
Referenced by FmodSound(), and FmodSoundSystem::play().
FMOD_CHANNEL* FmodSound::channel |
FMOD_RESULT FmodSound::result |
Definition at line 44 of file fmod-soundsystem.h.
Referenced by FmodSound(), getSoundName(), operator==(), and FmodSystemPlugin::SaveSettings().
Definition at line 45 of file fmod-soundsystem.h.
Referenced by FmodSound(), and FmodSystemPlugin::SaveSettings().