10 #ifndef MUSIC_MUSIC_DRIVER_HPP
11 #define MUSIC_MUSIC_DRIVER_HPP
13 #include "../driver.h"
static Driver ** GetActiveDriver(Driver::Type type)
Get the active driver for the given type.
A driver for communicating with the user.
@ DT_MUSIC
A music driver, needs to be before sound to properly shut down extmidi forked music players.
Driver for all music playback.
virtual void StopSong()=0
Stop playing the current song.
static MusicDriver * GetInstance()
Get the currently active instance of the music driver.
virtual bool IsSongPlaying()=0
Are we currently playing a song?
virtual void PlaySong(const MusicSongInfo &song)=0
Play a particular song.
virtual void SetVolume(uint8_t vol)=0
Set the volume, if possible.
std::string _ini_musicdriver
The music driver a stored in the configuration file.
Metadata about a music track.