OpenTTD
|
Implementation of the SDL sound driver. More...
#include <sdl_s.h>
Public Member Functions | |
const char * | Start (const char *const *param) |
Start this driver. | |
void | Stop () |
Stop this driver. | |
const char * | GetName () const |
Get the name of this driver. | |
![]() | |
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. |
|
inlinevirtual |
|
virtual |
Start this driver.
parm | Parameters passed to the driver. |
Implements Driver.
Definition at line 37 of file sdl_s.cpp.
References fill_sound_buffer(), GetDriverParamInt(), and SdlOpen().