OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
10 #ifndef MUSIC_FLUIDSYNTH_H
11 #define MUSIC_FLUIDSYNTH_H
29 const char *
GetName()
const override {
return "fluidsynth"; }
bool IsSongPlaying() override
Are we currently playing a song?
void SetVolume(byte vol) override
Set the volume, if possible.
const char * Start(const StringList ¶m) override
Start this driver.
DriverFactoryBase(Driver::Type type, int priority, const char *name, const char *description)
Construct a new DriverFactory.
void StopSong() override
Stop playing the current song.
void PlaySong(const MusicSongInfo &song) override
Play a particular song.
Driver * CreateInstance() const override
Create an instance of this driver-class.
const char * GetName() const override
Get the name of this driver.
Metadata about a music track.
std::vector< std::string > StringList
Type for a list of strings.
Factory for the fluidsynth driver.
Driver for all music playback.
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.
void Stop() override
Stop this driver.
Music driver making use of FluidSynth.
Base for all driver factories.