#include <fmod-soundsystem.h>
Definition at line 58 of file fmod-soundsystem.h.
Public Slots | |
void | add (QString sound_name, QString file_name) |
void | rem (QString sound_name) |
void | play (QString sound_name) |
void | stop (QString sound_name) |
Signals | |
void | sigOutputList (QStringList) |
void | sigSoundList (QStringList) |
void | sigSoundAdd (QString) |
void | sigSoundRem (QString) |
Public Member Functions | |
FmodSoundSystem (int ID, QWidget *parent=0) | |
~FmodSoundSystem () | |
void | FindOutputTypes () |
bool | isAvailable () |
bool | haveSound (QString) |
QStringList | getSoundList () |
Public Attributes | |
QStringList | OutputTypeList |
QStringList | PlaybackDrivers |
QStringList | RecordingDrivers |
FMOD_SYSTEM * | Fsystem |
FMOD_SOUND * | Fsound |
FMOD_CHANNEL * | Fchannel |
FMOD_RESULT | result |
FMOD_CREATESOUNDEXINFO | exinfo |
int | key |
int | driver |
int | numdrivers |
int | count |
unsigned int | Fversion |
QHash< QString, FmodSound > | SoundList |
Private Attributes | |
int | MyID |
FmodSoundSystem::FmodSoundSystem | ( | int | ID, | |
QWidget * | parent = 0 | |||
) |
Definition at line 37 of file fmod-soundsystem.cpp.
References count, ERRCHECK(), FindOutputTypes(), Fsystem, Fversion, MyID, name, numdrivers, PlaybackDrivers, RecordingDrivers, and result.
FmodSoundSystem::~FmodSoundSystem | ( | ) |
Definition at line 110 of file fmod-soundsystem.cpp.
References ERRCHECK(), Fsystem, and result.
void FmodSoundSystem::FindOutputTypes | ( | ) |
Definition at line 116 of file fmod-soundsystem.cpp.
References OutputTypeList.
Referenced by FmodSoundSystem().
bool FmodSoundSystem::isAvailable | ( | ) |
Definition at line 146 of file fmod-soundsystem.cpp.
bool FmodSoundSystem::haveSound | ( | QString | ) |
QStringList FmodSoundSystem::getSoundList | ( | ) |
Definition at line 152 of file fmod-soundsystem.cpp.
References QHash::keys(), and SoundList.
Referenced by add(), FmodSystemPlugin::getDock(), rem(), and FmodSystemPlugin::SaveSettings().
void FmodSoundSystem::sigOutputList | ( | QStringList | ) | [signal] |
void FmodSoundSystem::sigSoundList | ( | QStringList | ) | [signal] |
Definition at line 157 of file fmod-soundsystem.cpp.
References QHash::contains(), Fsystem, getSoundList(), sigSoundAdd(), sigSoundList(), SoundList, and QString::toAscii().
Referenced by FmodSystemPlugin::LoadSettings(), and FmodSystemPlugin::remote_data().
void FmodSoundSystem::rem | ( | QString | sound_name | ) | [slot] |
Definition at line 171 of file fmod-soundsystem.cpp.
References QHash::contains(), getSoundList(), QHash::remove(), sigSoundList(), sigSoundRem(), SoundList, and QString::toAscii().
void FmodSoundSystem::play | ( | QString | sound_name | ) | [slot] |
Definition at line 184 of file fmod-soundsystem.cpp.
References FmodSound::channel, QHash::contains(), ERRCHECK(), Fsystem, result, FmodSound::sound, SoundList, and QString::toAscii().
Referenced by FmodModule::Play(), and FmodSystemPlugin::remote_data().
void FmodSoundSystem::stop | ( | QString | sound_name | ) | [slot] |
Definition at line 206 of file fmod-soundsystem.cpp.
Referenced by FmodSystemPlugin::remote_data(), and FmodModule::Stop().
int FmodSoundSystem::MyID [private] |
Definition at line 73 of file fmod-soundsystem.h.
Referenced by FindOutputTypes(), and FmodSystemPlugin::getConfig().
Definition at line 74 of file fmod-soundsystem.h.
Referenced by FmodSoundSystem(), and FmodSystemPlugin::getConfig().
Definition at line 75 of file fmod-soundsystem.h.
Referenced by FmodSoundSystem(), and FmodSystemPlugin::getConfig().
FMOD_SYSTEM* FmodSoundSystem::Fsystem |
Definition at line 78 of file fmod-soundsystem.h.
Referenced by add(), FmodSystemPlugin::CoreInit(), FmodSoundSystem(), play(), FmodSystemPlugin::SaveSettings(), and ~FmodSoundSystem().
FMOD_SOUND* FmodSoundSystem::Fsound |
Definition at line 79 of file fmod-soundsystem.h.
FMOD_CHANNEL* FmodSoundSystem::Fchannel |
Definition at line 80 of file fmod-soundsystem.h.
FMOD_RESULT FmodSoundSystem::result |
Definition at line 81 of file fmod-soundsystem.h.
Referenced by FmodSoundSystem(), play(), and ~FmodSoundSystem().
FMOD_CREATESOUNDEXINFO FmodSoundSystem::exinfo |
Definition at line 82 of file fmod-soundsystem.h.
Definition at line 83 of file fmod-soundsystem.h.
Definition at line 83 of file fmod-soundsystem.h.
unsigned int FmodSoundSystem::Fversion |
Definition at line 86 of file fmod-soundsystem.h.
Referenced by add(), getSoundList(), play(), rem(), and FmodSystemPlugin::SaveSettings().