10 #ifndef MUSIC_ALLEGRO_H 11 #define MUSIC_ALLEGRO_H 18 const char *
Start(
const char *
const *param)
override;
29 const char *
GetName()
const override {
return "allegro"; }
35 #if !defined(WITH_SDL) && defined(WITH_ALLEGRO) 39 static const int PRIORITY = 9;
41 static const int PRIORITY = 2;
Metadata about a music track.
void StopSong() override
Stop playing the current song.
const char * GetName() const override
Get the name of this driver.
bool IsSongPlaying() override
Are we currently playing a song?
const char * Start(const char *const *param) override
Start this driver.
Factory for allegro's music player.
void Stop() override
Stop this driver.
A music driver, needs to be before sound to properly shut down extmidi forked music players...
Allegro's music player.
Base for all music playback.
Base for all driver factories.
void PlaySong(const MusicSongInfo &song) override
Play a particular song.
A driver for communicating with the user.
Driver * CreateInstance() const override
Create an instance of this driver-class.
Driver for all music playback.
void SetVolume(byte vol) override
Set the volume, if possible.