Provides an interface to output sound to the user's speakers.
This departs from the LÖVE API a bit because
SDL2_mixer is opinionated
about the difference between samples and music files, and also makes channel
management and such more explicit.
This seems a bit awkward but we'll roll with it for now.
A source of music data.
Music is played on a separate dedicated channel from sounds,
and also has a separate corpus of decoders than sounds do;
A source of audio data.
A trait for general operations on sound objects.
Pause currently playing music
Start playing the given music (looping forever)
Play the given music n times. -1 loops forever.
Resume currently playing music, if any
Rewind the currently playing music to the beginning.
Stop currently playing music
An object representing a channel that may be playing a particular Sound.