

Public Methods | |
| MultipleSoundEffect (AudioDevice *device, SampleBuffer *sb) | |
| void ADR_CALL | play () |
| void ADR_CALL | stop () |
|
||||||||||||
|
Definition at line 35 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 40 of file sound_effect.cpp. References ADR_CALL, and audiere::OutputStream::play(). |
|
|
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 60 of file sound_effect.cpp. References ADR_CALL. |
1.2.17