OpenTTD Source
12.0-beta2
|
Implementation of the null sound driver. More...
#include <null_s.h>
Public Member Functions | |
const char * | Start (const StringList ¶m) override |
Start this driver. More... | |
void | Stop () override |
Stop this driver. | |
const char * | GetName () const override |
Get the name of this driver. More... | |
bool | HasOutput () const override |
Whether the driver has an output from which the user can hear sound. More... | |
![]() | |
virtual void | MainLoop () |
Called once every tick. | |
Additional Inherited Members | |
![]() | |
enum | Type { DT_BEGIN = 0, DT_MUSIC = 0, DT_SOUND, DT_VIDEO, DT_END } |
The type of driver. More... | |
![]() | |
static SoundDriver * | GetInstance () |
Get the currently active instance of the sound driver. | |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Whether the driver has an output from which the user can hear sound.
Or in other words, whether we should warn the user if no soundset is loaded and that loading one would fix the sound problems.
Reimplemented from SoundDriver.
|
inlineoverridevirtual |