![]() |
Pioneer
|
Classes | |
| class | Event |
| class | LoadSoundJob |
| class | MusicEvent |
| class | MusicPlayer |
| class | OggFileDataStream |
| struct | Sample |
| struct | SoundEvent |
Typedefs | |
| typedef Uint32 | Op |
| typedef Uint32 | eventid |
Enumerations | |
| enum | { OP_REPEAT = (1 << 0) , OP_STOP_AT_TARGET_VOLUME = (1 << 1) } |
Functions | |
| void | SetMasterVolume (const float vol) |
| float | GetMasterVolume () |
| void | SetSfxVolume (const float vol) |
| float | GetSfxVolume () |
| void | CalculateStereo (const Body *b, float vol, float *volLeftOut, float *volRightOut) |
| eventid | BodyMakeNoise (const Body *b, const char *sfx, float vol) |
| bool | SetOp (eventid id, Op op) |
| eventid | PlaySfx (const char *fx, const float volume_left, const float volume_right, const Op op) |
| eventid | PlayMusic (const char *fx, const float volume_left, const float volume_right, const Op op) |
| void | DestroyAllEvents () |
| void | DestroyAllEventsExceptMusic () |
| bool | Init (bool automaticallyOpenDevice) |
| bool | InitDevice (std::string &name) |
| void | Uninit () |
| void | UpdateAudioDevices () |
| void | Pause (int on) |
| const std::map< std::string, Sample > & | GetSamples () |
| std::vector< std::string > & | GetAudioDevices () |
Variables | |
| struct SoundEvent | wavstream [MAX_WAVSTREAMS] |
| std::vector< std::string > | s_audioDeviceNames = {} |
| typedef Uint32 Sound::eventid |
| typedef Uint32 Sound::Op |

| void Sound::CalculateStereo | ( | const Body * | b, |
| float | vol, | ||
| float * | volLeftOut, | ||
| float * | volRightOut | ||
| ) |

| void Sound::DestroyAllEvents | ( | ) |
Silence all active sound events.
| void Sound::DestroyAllEventsExceptMusic | ( | ) |
| std::vector< std::string > & Sound::GetAudioDevices | ( | ) |
| float Sound::GetMasterVolume | ( | ) |
| const std::map< std::string, Sample > & Sound::GetSamples | ( | ) |
| float Sound::GetSfxVolume | ( | ) |
| bool Sound::Init | ( | bool | automaticallyOpenDevice | ) |

| bool Sound::InitDevice | ( | std::string & | name | ) |

| void Sound::Pause | ( | int | on | ) |
| eventid Sound::PlayMusic | ( | const char * | fx, |
| const float | volume_left, | ||
| const float | volume_right, | ||
| const Op | op | ||
| ) |
| eventid Sound::PlaySfx | ( | const char * | fx, |
| const float | volume_left, | ||
| const float | volume_right, | ||
| const Op | op | ||
| ) |

| void Sound::SetMasterVolume | ( | const float | vol | ) |
| void Sound::SetSfxVolume | ( | const float | vol | ) |
| void Sound::Uninit | ( | ) |

| void Sound::UpdateAudioDevices | ( | ) |
| std::vector<std::string> Sound::s_audioDeviceNames = {} |
| struct SoundEvent Sound::wavstream[MAX_WAVSTREAMS] |