Title Description
LoopSample 

Toggles the sound or music looping.

void onSceneCreated()
{
   ...
StopSample 

Stops an audio sample playback.

Example:

void DoGameOverStuff()
{
   ...
SetSampleVolume 

Sets the sample volume.

  • 0.0f completely...
SetSampleSpeed 

Sets the sample playback frequency scale. Some systems have software or hardware limitations that...

SetGlobalVolume 

Sets the global volume. 0.0f means complete silence and 1.0f means full...

SetSamplePan 

Set sample pan.

  • -1.0 completely to the...
GetGlobalVolume 

Returns the global volume.

  • 0.0f for complete silence...
IsSamplePlaying 

Returns true if the sample is playing.

if...
SampleExists 

Returns true if the given sound effect sample has already been...

PlaySample 

Plays a preloaded audio sample.

Example:

void onSceneCreated()
{
   ...
PauseSample 

Pauses a sample playback.

if (DoPauseGameStuff())
{
   ...
LoadSoundEffect 

Loads a sound effect sample. Unlike LoadMusic, this function loads the entire sound...

LoadMusic 

Loads a music sample for playback, usually through streaming. Long ambient sound effects should...