Title Description
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...

SetSamplePan 

Set sample pan.

  • -1.0 completely to the...
SetGlobalVolume 

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

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())
{
   ...
LoopSample 

Toggles the sound or music looping.

void onSceneCreated()
{
   ...
LoadSoundEffect 

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

IsSamplePlaying 

Returns true if the sample is playing.

if...
GetGlobalVolume 

Returns the global volume.

  • 0.0f for complete silence...
LoadMusic 

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