#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. Implemented in audiere::SingleSoundEffect, and audiere::MultipleSoundEffect. |
|
Get current pitch shift. Defaults to 1.0. Implemented in audiere::SingleSoundEffect, and audiere::MultipleSoundEffect. |
|
Gets the current volume.
Implemented in audiere::SingleSoundEffect, and audiere::MultipleSoundEffect. |
|
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. Implemented in audiere::SingleSoundEffect, and audiere::MultipleSoundEffect. |
|
Set current pan.
Implemented in audiere::SingleSoundEffect, and audiere::MultipleSoundEffect. |
|
Set current pitch shift.
Implemented in audiere::SingleSoundEffect, and audiere::MultipleSoundEffect. |
|
Sets the sound's volume.
Implemented in audiere::SingleSoundEffect, and audiere::MultipleSoundEffect. |
|
If the sound is of type SINGLE, stop the sound. If it is of type MULTIPLE, stop all playing instances of the sound. Implemented in audiere::SingleSoundEffect, and audiere::MultipleSoundEffect. |