Public Member Functions | |
MultipleSoundEffect (AudioDevice *device, SampleBuffer *sb) | |
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 63 of file sound_effect.cpp.
|
Definition at line 65 of file sound_effect.cpp. |
|
Get current pan. Implements audiere::SoundEffect. Definition at line 117 of file sound_effect.cpp. |
|
Get current pitch shift. Defaults to 1.0. Implements audiere::SoundEffect. Definition at line 125 of file sound_effect.cpp. |
|
Gets the current volume.
Implements audiere::SoundEffect. Definition at line 109 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 74 of file sound_effect.cpp. |
|
Set current pan.
Implements audiere::SoundEffect. Definition at line 113 of file sound_effect.cpp. |
|
Set current pitch shift.
Implements audiere::SoundEffect. Definition at line 121 of file sound_effect.cpp. |
|
Sets the sound's volume.
Implements audiere::SoundEffect. Definition at line 105 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 101 of file sound_effect.cpp. |