OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
10 #ifndef SOUND_XAUDIO2_H
11 #define SOUND_XAUDIO2_H
21 const char *
GetName()
const override {
return "xaudio2"; }
Driver * CreateInstance() const override
Create an instance of this driver-class.
DriverFactoryBase(Driver::Type type, int priority, const char *name, const char *description)
Construct a new DriverFactory.
Factory for the XAudio2 sound driver.
std::vector< std::string > StringList
Type for a list of strings.
const char * Start(const StringList ¶m) override
Initialises the XAudio2 driver.
void Stop() override
Terminates the XAudio2 driver.
@ DT_SOUND
A sound driver.
Base for all sound drivers.
Implementation of the XAudio2 sound driver.
const char * GetName() const override
Get the name of this driver.
A driver for communicating with the user.
Base for all driver factories.