18 std::optional<std::string_view>
Start(
const StringList ¶m)
override;
21 std::string_view
GetName()
const override {
return "sdl"; }
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 SDL sound driver.
Driver * CreateInstance() const override
Create an instance of this driver-class.
Implementation of the SDL sound driver.
std::string_view GetName() const override
Get the name of this driver.
std::optional< std::string_view > Start(const StringList ¶m) override
Start this driver.
void Stop() override
Stop this driver.
Base for all sound drivers.
Base for all sound drivers.
std::vector< std::string > StringList
Type for a list of strings.