Title Description
LoadMusic 

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

LoadSoundEffect 

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

PauseSample 

Pauses a sample playback.

if (DoPauseGameStuff())
{
   ...
PlaySample 

Plays a preloaded audio sample.

Example:

void onSceneCreated()
{
   ...
SampleExists 

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

IsSamplePlaying 

Returns true if the sample is playing.

if...
GetGlobalVolume 

Returns the global volume.

  • 0.0f for complete silence...
SetSamplePan 

Set sample pan.

  • -1.0 completely to the...
SetGlobalVolume 

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

SetSampleSpeed 

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

SetSampleVolume 

Sets the sample volume.

  • 0.0f completely...
StopSample 

Stops an audio sample playback.

Example:

void DoGameOverStuff()
{
   ...
LoopSample 

Toggles the sound or music looping.

void onSceneCreated()
{
   ...