Loading...
Searching...
No Matches
Sound.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
Status getStatus() const
Get the current status of the sound (stopped, paused, playing)
Time getPlayingOffset() const
Get the current playing position of the sound.
const SoundBuffer * getBuffer() const
Get the audio buffer attached to the sound.
void setBuffer(const SoundBuffer &buffer)
Set the source buffer containing the audio data to play.
void setPlayingOffset(Time timeOffset)
Change the current playing position of the sound.
void setLoop(bool loop)
Set whether or not the sound should loop after reaching the end.
Definition AlResource.hpp:35