#include <sound.h>
|
virtual bool | loadSoundFile (const std::string &name, const std::string &filepath) |
|
virtual bool | loadSoundData (const std::string &name, const std::string &filedata) |
|
void | updateListener (const v3f &pos, const v3f &vel, const v3f &at, const v3f &up) |
|
void | setListenerGain (float gain) |
|
int | playSound (const std::string &name, bool loop, float volume, float fade, float pitch) |
|
int | playSoundAt (const std::string &name, bool loop, float volume, v3f pos, float pitch) |
|
void | stopSound (int sound) |
|
bool | soundExists (int sound) |
|
void | updateSoundPosition (int sound, v3f pos) |
|
bool | updateSoundGain (int id, float gain) |
|
float | getSoundGain (int id) |
|
void | step (float dtime) |
|
void | fadeSound (int sound, float step, float gain) |
|
virtual | ~ISoundManager ()=default |
|
int | playSound (const SimpleSoundSpec &spec, bool loop) |
|
int | playSoundAt (const SimpleSoundSpec &spec, bool loop, const v3f &pos) |
|
◆ fadeSound()
void DummySoundManager::fadeSound |
( |
int |
sound, |
|
|
float |
step, |
|
|
float |
gain |
|
) |
| |
|
inlinevirtual |
◆ getSoundGain()
float DummySoundManager::getSoundGain |
( |
int |
id | ) |
|
|
inlinevirtual |
◆ loadSoundData()
virtual bool DummySoundManager::loadSoundData |
( |
const std::string & |
name, |
|
|
const std::string & |
filedata |
|
) |
| |
|
inlinevirtual |
◆ loadSoundFile()
virtual bool DummySoundManager::loadSoundFile |
( |
const std::string & |
name, |
|
|
const std::string & |
filepath |
|
) |
| |
|
inlinevirtual |
◆ playSound()
int DummySoundManager::playSound |
( |
const std::string & |
name, |
|
|
bool |
loop, |
|
|
float |
volume, |
|
|
float |
fade, |
|
|
float |
pitch |
|
) |
| |
|
inlinevirtual |
◆ playSoundAt()
int DummySoundManager::playSoundAt |
( |
const std::string & |
name, |
|
|
bool |
loop, |
|
|
float |
volume, |
|
|
v3f |
pos, |
|
|
float |
pitch |
|
) |
| |
|
inlinevirtual |
◆ setListenerGain()
void DummySoundManager::setListenerGain |
( |
float |
gain | ) |
|
|
inlinevirtual |
◆ soundExists()
bool DummySoundManager::soundExists |
( |
int |
sound | ) |
|
|
inlinevirtual |
◆ step()
void DummySoundManager::step |
( |
float |
dtime | ) |
|
|
inlinevirtual |
◆ stopSound()
void DummySoundManager::stopSound |
( |
int |
sound | ) |
|
|
inlinevirtual |
◆ updateListener()
void DummySoundManager::updateListener |
( |
const v3f & |
pos, |
|
|
const v3f & |
vel, |
|
|
const v3f & |
at, |
|
|
const v3f & |
up |
|
) |
| |
|
inlinevirtual |
◆ updateSoundGain()
bool DummySoundManager::updateSoundGain |
( |
int |
id, |
|
|
float |
gain |
|
) |
| |
|
inlinevirtual |
◆ updateSoundPosition()
void DummySoundManager::updateSoundPosition |
( |
int |
sound, |
|
|
v3f |
pos |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: