Public Member Functions | |
SingleSoundEffect (OutputStream *os) | |
void | play () |
void | stop () |
void | setVolume (float volume) |
float | getVolume () |
void | setPan (float pan) |
float | getPan () |
void | setPitchShift (float shift) |
float | getPitchShift () |
Definition at line 7 of file sound_effect.cpp.
|
Definition at line 9 of file sound_effect.cpp. |
|
Get current pan. Implements audiere::SoundEffect. Definition at line 42 of file sound_effect.cpp. |
|
Get current pitch shift. Defaults to 1.0. Implements audiere::SoundEffect. Definition at line 50 of file sound_effect.cpp. |
|
Gets the current volume.
Implements audiere::SoundEffect. Definition at line 34 of file sound_effect.cpp. |
|
Trigger playback of the sound. If the SoundEffect is of type SINGLE, this plays the sound if it isn't playing yet, and starts it again if it is. If the SoundEffect is of type MULTIPLE, play() simply starts playing the sound again. Implements audiere::SoundEffect. Definition at line 17 of file sound_effect.cpp. |
|
Set current pan.
Implements audiere::SoundEffect. Definition at line 38 of file sound_effect.cpp. |
|
Set current pitch shift.
Implements audiere::SoundEffect. Definition at line 46 of file sound_effect.cpp. |
|
Sets the sound's volume.
Implements audiere::SoundEffect. Definition at line 30 of file sound_effect.cpp. |
|
If the sound is of type SINGLE, stop the sound. If it is of type MULTIPLE, stop all playing instances of the sound. Implements audiere::SoundEffect. Definition at line 25 of file sound_effect.cpp. |