Import over appdata/CodeLibs/LIB_AUDIO.py
A library concerning sound and music.
Returns an AUDIOPLAYER loaded with the sound in filepath.
Holds a sound file and the functions to play, stop, pause and resume music generally and the given file specifically.
Returned by the getSound function.
AUDIOPLAYER constructor.
Loads the file in filepath and maybe initializes the sound engine.
Plays the loaded file.
Stop the actual playing music (must not be this one).
Pauses or resumes the audio play, based on what is given before.
Pauses the actual playing music.
Resumes the actual paused music.
Returns if the music player is busy (playing sound, True) or not (False).