Audio and video playback utilities.
Title | Description |
---|---|
LoadMusic | Loads a music sample for playback, usually through streaming. Long ambient sound effects should... |
LoadSoundEffect | Loads a sound effect sample. Unlike |
PauseSample | Pauses a sample playback. if (DoPauseGameStuff()) { ... |
PlaySample | Plays a preloaded audio sample. Example: void onSceneCreated() { ... |
SampleExists | Returns |
IsSamplePlaying | Returns if... |
GetGlobalVolume | Returns the global volume.
|
SetSamplePan | Set sample pan.
|
SetGlobalVolume | Sets the global volume. |
SetSampleSpeed | Sets the sample playback frequency scale. Some systems have software or hardware limitations that... |
SetSampleVolume | Sets the sample volume.
|
StopSample | Stops an audio sample playback. Example: void DoGameOverStuff() { ... |
LoopSample | Toggles the sound or music looping. void onSceneCreated() { ... |