20 std::string_view
GetName()
const override {
return "cocoa"; }
26 std::unique_ptr<Driver>
CreateInstance()
const override {
return std::make_unique<SoundDriver_Cocoa>(); }
Base for all driver factories.
@ DT_SOUND
A sound driver.
std::unique_ptr< Driver > CreateInstance() const override
Create an instance of this driver-class.
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 ¶m) 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.