#include <SDL.h>
#include <map>
#include <string>
#include <vector>
Go to the source code of this file.
|
| bool | Sound::Init (bool automaticallyOpenDevice) |
| |
| bool | Sound::InitDevice (std::string &name) |
| |
| void | Sound::Uninit () |
| |
| std::vector< std::string > & | Sound::GetAudioDevices () |
| |
| void | Sound::UpdateAudioDevices () |
| |
| void | Sound::DestroyAllEvents () |
| |
| void | Sound::DestroyAllEventsExceptMusic () |
| |
| void | Sound::Pause (int on) |
| |
| eventid | Sound::PlaySfx (const char *fx, const float volume_left, const float volume_right, const Op op) |
| |
| eventid | Sound::PlayMusic (const char *fx, const float volume_left, const float volume_right, const Op op) |
| |
| void | Sound::CalculateStereo (const Body *b, float vol, float *volLeftOut, float *volRightOut) |
| |
| eventid | Sound::BodyMakeNoise (const Body *b, const char *sfx, float vol) |
| |
| void | Sound::SetMasterVolume (const float vol) |
| |
| float | Sound::GetMasterVolume () |
| |
| void | Sound::SetSfxVolume (const float vol) |
| |
| float | Sound::GetSfxVolume () |
| |
| const std::map< std::string, Sample > & | Sound::GetSamples () |
| |