|
| void | init (const std::string &device) |
| | Sets up cAudio with the specified device. More...
|
| |
|
void | destroySound (SoundEmitter *sound) |
| | Destroys a sound object that was created before with createSound.
|
| |
| SoundEmitter * | createSound (const std::string &name, const std::string &fileName, bool stream, bool loop, std::string namespacePrefix) |
| | Creates a sound object for internal use by sound system. More...
|
| |
| SoundEmitter * SoundManager::createSound |
( |
const std::string & |
name, |
|
|
const std::string & |
fileName, |
|
|
bool |
stream, |
|
|
bool |
loop, |
|
|
std::string |
namespacePrefix |
|
) |
| |
Creates a sound object for internal use by sound system.
- Parameters
-
| ambient | When true creates a 2D sound |
| fileName | Path to the file when ../sounds/ is added to the front |
| void SoundManager::init |
( |
const std::string & |
device | ) |
|
Sets up cAudio with the specified device.
- Parameters
-
| device | The device name or empty string for default |
The documentation for this class was generated from the following files:
- /home/hhyyrylainen/Projects/thrive_install/thrive/src/sound/sound_manager.h
- /home/hhyyrylainen/Projects/thrive_install/thrive/src/sound/sound_manager.cpp