#include <audiere.h>
Inheritance diagram for audiere::SoundEffect:
Public Member Functions | |
virtual void | play ()=0 |
virtual void | stop ()=0 |
virtual void | setVolume (float volume)=0 |
virtual float | getVolume ()=0 |
virtual void | setPan (float pan)=0 |
virtual float | getPan ()=0 |
virtual void | setPitchShift (float shift)=0 |
virtual float | getPitchShift ()=0 |
Protected Member Functions | |
~SoundEffect () |
Definition at line 839 of file audiere.h.
|
|
|
Get current pan. |
|
Get current pitch shift. Defaults to 1.0. |
|
Gets the current volume.
|
|
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. |
|
Set current pan.
|
|
Set current pitch shift.
|
|
Sets the sound's volume.
|
|
If the sound is of type SINGLE, stop the sound. If it is of type MULTIPLE, stop all playing instances of the sound. |