10#ifndef SOUND_XAUDIO2_H
11#define SOUND_XAUDIO2_H
18 std::optional<std::string_view>
Start(
const StringList ¶m)
override;
21 std::string_view
GetName()
const override {
return "xaudio2"; }
Base for all driver factories.
A driver for communicating with the user.
@ DT_SOUND
A sound driver.
Factory for the XAudio2 sound driver.
Driver * CreateInstance() const override
Create an instance of this driver-class.
Implementation of the XAudio2 sound driver.
std::string_view GetName() const override
Get the name of this driver.
std::optional< std::string_view > Start(const StringList ¶m) override
Initialises the XAudio2 driver.
void Stop() override
Terminates the XAudio2 driver.
Base for all sound drivers.
Base for all sound drivers.
std::vector< std::string > StringList
Type for a list of strings.