comp • gb.sdl2.audio • music

Music (gb.sdl2.audio)

This static class allows you to manage the music track.

This class is static.

Static properties

Static methods Constants
Sets or returns the current time position of the music track.
Pos  
Return or set the SoundFont path used by the library to play MIDI files.
SoundFontPath  
Return the state of the music.
State  
Returns or sets the volume of the music track.
Volume  
Specifies the file used for playing the music track.
Load  
Pauses the music.
Pause  
Start playing the music with an optional fade-in.
Play  
Stop the music with an optional fade-out.
Stop  
Constant for the State property indicating that the music is paused.
Paused  
Constant for the State property indicating that the music is playing.
Playing  
Constant for the State property indicating that the music is stopped.
Stopped