12 #ifndef MUSIC_ALLEGRO_H 13 #define MUSIC_ALLEGRO_H 20 const char *
Start(
const char *
const *param);
31 const char *
GetName()
const {
return "allegro"; }
37 #if !defined(WITH_SDL) && defined(WITH_ALLEGRO) 41 static const int PRIORITY = 9;
43 static const int PRIORITY = 2;
void Stop()
Stop this driver.
Factory for allegro's music player.
void SetVolume(byte vol)
Set the volume, if possible.
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 char *filename)
Play a particular song.
bool IsSongPlaying()
Are we currently playing a song?
A driver for communicating with the user.
Driver * CreateInstance() const
Create an instance of this driver-class.
const char * Start(const char *const *param)
Start this driver.
const char * GetName() const
Get the name of this driver.
Driver for all music playback.
void StopSong()
Stop playing the current song.