18 std::optional<std::string_view>
Start(
const StringList &)
override {
return std::nullopt; }
21 std::string_view
GetName()
const override {
return "null"; }
Base for all driver factories.
A driver for communicating with the user.
@ DT_SOUND
A sound driver.
Factory for the null sound driver.
Driver * CreateInstance() const override
Create an instance of this driver-class.
Implementation of the null sound driver.
bool HasOutput() const override
Whether the driver has an output from which the user can hear sound.
void Stop() override
Stop this driver.
std::string_view GetName() const override
Get the name of this driver.
std::optional< std::string_view > Start(const StringList &) override
Start this driver.
Base for all sound drivers.
Base for all sound drivers.
std::vector< std::string > StringList
Type for a list of strings.