Audio and video playback utilities.
Title | Description |
---|---|
LoadMusic | Loads a music sample for playback, usually through streaming. Long ambient sound effects should... |
GetGlobalVolume | Returns the global volume.
|
IsSamplePlaying | Returns if... |
LoadSoundEffect | Loads a sound effect sample. Unlike |
LoopSample | Toggles the sound or music looping. void onSceneCreated() { ... |
PauseSample | Pauses a sample playback. if (DoPauseGameStuff()) { ... |
PlaySample | Plays a preloaded audio sample. Example: void onSceneCreated() { ... |
SampleExists | Returns |
SetGlobalVolume | Sets the global volume. |
SetSamplePan | Set sample pan.
|
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() { ... |