Audio
Represents the Audio controller by raylib, which is used to manage audio devices and settings.
Properties
Functions
Pauses a playable audio format, which can be a Sound, MusicStream, or AudioStream. If the audio is not playing, this function does nothing. After calling this function, the audio will be paused at its current position and can be resumed with resume.
Plays a playable audio format, which can be a Sound, MusicStream, or AudioStream. If the audio is already playing, it will be restarted from the beginning.
Resumes a playable audio format, which can be a Sound, MusicStream, or AudioStream. If the audio is not paused, this function does nothing. After calling this function, the audio will continue playing from its current position.
Stops the audio device.
Stops a playable audio format, which can be a Sound, MusicStream, or AudioStream. If the audio is not playing, this function does nothing. After calling this function, the audio will be reset to the beginning and can be played again with play.