10 #ifndef SOUND_ALLEGRO_H
11 #define SOUND_ALLEGRO_H
23 std::string_view
GetName()
const override {
return "allegro"; }
Base for all driver factories.
DriverFactoryBase(Driver::Type type, int priority, const char *name, const char *description)
Construct a new DriverFactory.
A driver for communicating with the user.
@ DT_SOUND
A sound driver.
Factory for the allegro sound driver.
Driver * CreateInstance() const override
Create an instance of this driver-class.
Implementation of the allegro sound driver.
void Stop() override
Stop this driver.
void MainLoop() override
Called once every tick.
std::optional< std::string_view > Start(const StringList ¶m) override
Start this driver.
std::string_view GetName() const override
Get the name of this driver.
Base for all sound drivers.
Base for all sound drivers.
std::vector< std::string > StringList
Type for a list of strings.