Quantcast
Channel: Sound - Documentation
Browsing all 4 articles
Browse latest View live

Sound

The sound class stores audio data that can be played with a Source object. Membersstatic const int Mono8static const int Stereo8static const int Mono16static const int Stereo16static const int...

View Article



Sound::GetLength

This function gets the length of a sound. Syntaxfloat GetLength() ReturnsReturns the length of the sound, in seconds.

View Article

Sound::Play

This function plays a sound once. Syntaxvoid Play()

View Article

Sound::Load

This function loads a sound from a sound (*.wav) file. Syntaxstatic Sound* Load(const std:string& path, const int& flags=0) Parameterspath: the file path to load the font from.flags: asset load...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images