OpenTTD Source
20240919-master-gdf0233f4c2
|
Go to the documentation of this file.
10 #ifndef SOUND_SOUND_DRIVER_HPP
11 #define SOUND_SOUND_DRIVER_HPP
13 #include "../driver.h"
static Driver ** GetActiveDriver(Driver::Type type)
Get the active driver for the given type.
virtual void MainLoop()
Called once every tick.
std::string _ini_sounddriver
The sound driver a stored in the configuration file.
@ DT_SOUND
A sound driver.
virtual bool HasOutput() const
Whether the driver has an output from which the user can hear sound.
Base for all sound drivers.
static SoundDriver * GetInstance()
Get the currently active instance of the sound driver.
A driver for communicating with the user.