|
|
| QSoundManager (Audio::Mixer *mixer) |
| |
| CWaveFile * | loadSound (const CString &name) override |
| |
| CWaveFile * | loadSpeech (CDialogueFile *dialogueFile, int speechId) override |
| |
| CWaveFile * | loadMusic (const CString &name) override |
| |
| CWaveFile * | loadMusic (CAudioBuffer *buffer, DisposeAfterUse::Flag disposeAfterUse) override |
| |
| int | playSound (CWaveFile &waveFile, CProximity &prox) override |
| |
| void | stopSound (int handle) override |
| |
| void | stopChannel (int channel) override |
| |
| virtual void | setCanFree (int handle) |
| |
| void | stopAllChannels () override |
| |
| void | setVolume (int handle, uint volume, uint seconds) override |
| |
| void | setVectorPosition (int handle, double x, double y, double z, uint panRate) override |
| |
| void | setPolarPosition (int handle, double range, double azimuth, double elevation, uint panRate) override |
| |
| bool | isActive (int handle) override |
| |
| bool | isActive (const CWaveFile *waveFile) override |
| |
| void | waveMixPump () override |
| |
| uint | getLatency () const override |
| |
| void | setMusicPercent (double percent) override |
| |
| void | setSpeechPercent (double percent) override |
| |
| void | setMasterPercent (double percent) override |
| |
| void | setParrotPercent (double percent) override |
| |
| void | setListenerPosition (double posX, double posY, double posZ, double directionX, double directionY, double directionZ, bool stopSounds) override |
| |
| virtual int | playWave (CWaveFile *waveFile, int iChannel, uint flags, CProximity &prox) |
| |
| void | soundFreed (Audio::SoundHandle &handle) |
| |
| virtual CWaveFile * | loadSound (const CString &name) |
| |
| virtual CWaveFile * | loadSpeech (CDialogueFile *dialogueFile, int speechId) |
| |
| virtual CWaveFile * | loadMusic (const CString &name) |
| |
| virtual CWaveFile * | loadMusic (CAudioBuffer *buffer, DisposeAfterUse::Flag disposeAfterUse) |
| |
| virtual int | playSound (CWaveFile &waveFile, CProximity &prox)=0 |
| |
| virtual void | stopSound (int handle)=0 |
| |
| virtual void | stopChannel (int channel)=0 |
| |
|
virtual void | proc9 (int handle) |
| |
| virtual void | stopAllChannels ()=0 |
| |
| virtual void | setVolume (int handle, uint volume, uint seconds)=0 |
| |
| virtual void | setVectorPosition (int handle, double x, double y, double z, uint panRate) |
| |
| virtual void | setPolarPosition (int handle, double range, double azimuth, double elevation, uint panRate) |
| |
| virtual bool | isActive (int handle)=0 |
| |
| virtual bool | isActive (const CWaveFile *waveFile) |
| |
| virtual void | waveMixPump ()=0 |
| |
| virtual uint | getLatency () const |
| |
| virtual void | setMusicPercent (double percent)=0 |
| |
| virtual void | setSpeechPercent (double percent)=0 |
| |
| virtual void | setMasterPercent (double percent)=0 |
| |
| virtual void | setParrotPercent (double percent)=0 |
| |
| virtual void | preLoad () |
| |
| void | load (SimpleFile *file) |
| |
| virtual void | postLoad () |
| |
| virtual void | preSave () |
| |
| void | save (SimpleFile *file) const |
| |
| virtual void | postSave () |
| |
| virtual void | setListenerPosition (double posX, double posY, double posZ, double directionX, double directionY, double directionZ, bool stopSounds) |
| |
| double | getMusicVolume () const |
| |
| double | getSpeechVolume () const |
| |
| double | getParrotVolume () const |
| |
| uint | getModeVolume (VolumeMode mode) |
| |
|
| QMixer (Audio::Mixer *mixer) |
| |
| bool | qsWaveMixInitEx (const QMIXCONFIG &config) |
| |
| void | qsWaveMixActivate (bool fActivate) |
| |
| int | qsWaveMixOpenChannel (int iChannel, QMixFlag mode) |
| |
| int | qsWaveMixEnableChannel (int iChannel, uint flags, bool enabled) |
| |
| void | qsWaveMixCloseSession () |
| |
| void | qsWaveMixFreeWave (Audio::SoundHandle &handle) |
| |
| void | qsWaveMixFlushChannel (int iChannel, uint flags=0) |
| |
| void | qsWaveMixSetPanRate (int iChannel, uint flags, uint rate) |
| |
| void | qsWaveMixSetVolume (int iChannel, uint flags, uint volume) |
| |
| void | qsWaveMixSetSourcePosition (int iChannel, uint flags, const QSVECTOR &position) |
| |
| void | qsWaveMixSetPolarPosition (int iChannel, uint flags, const QSPOLAR &position) |
| |
| void | qsWaveMixSetListenerPosition (const QSVECTOR &position, uint flags=0) |
| |
| void | qsWaveMixSetListenerOrientation (const QSVECTOR &direction, const QSVECTOR &up, uint flags=0) |
| |
| void | qsWaveMixSetDistanceMapping (int iChannel, uint flags, const QMIX_DISTANCES &distances) |
| |
| void | qsWaveMixSetFrequency (int iChannel, uint flags, uint frequency) |
| |
| void | qsWaveMixSetSourceVelocity (int iChannel, uint flags, const QSVECTOR &velocity) |
| |
| int | qsWaveMixPlayEx (int iChannel, uint flags, CWaveFile *waveFile, int loops, const QMIXPLAYPARAMS ¶ms) |
| |
| bool | qsWaveMixIsChannelDone (int iChannel) const |
| |
| void | qsWaveMixPump () |
| |
Concrete sound manager class that handles interfacing with the QMixer sound mixer class