Public Member Functions | |
| SAudioSound (std::string name, std::string path, bool stream) | |
| bool | IsValid () |
| std::string | GetName () |
| bool | Play (bool loop) |
| bool | Play3d (float attenuation, bool loop) |
| void | Stop () |
| void | Pause () |
| void | SetVolume (float volume) |
| float | GetVolume () |
| bool | IsPlaying () |
| float | GetTime () |
| float | GetTotalTime () |
| void | SetPitch (float pitch) |
| float | GetPitch () |
| void | Seek (float pos, bool relative) |
| void | SetPositionAndDirection (cAudio::cVector3 pos, cAudio::cVector3 dir) |
| cAudio::cVector3 | GetPosition () |
| cAudio::cVector3 | GetDirection () |
| void | SetCone (float inner, float outer, float outvol) |
| float | GetInnerCone () |
| float | GetOuterCone () |
| float | GetOuterConeVolume () |
| void | SetRolloffFactor (float rolloff) |
| float | GetRolloffFactor () |
| virtual void | onUpdate () |
| virtual void | onRelease () |
| This function is called when a source is released and soon to be deleted. | |
| virtual void | onPlay () |
| This function is called when a source starts playing. | |
| virtual void | onStop () |
| This function is called when a source stopped playback. | |
| virtual void | onPause () |
| This function is called when a source is paused. | |
Definition at line 42 of file audio.h.
1.7.2