OpenTTD
Public Member Functions
SoundDriver_Win32 Class Reference

Implementation of the sound driver for Windows. More...

#include <win32_s.h>

Inheritance diagram for SoundDriver_Win32:
SoundDriver Driver

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.
- Public Member Functions inherited from SoundDriver
virtual void MainLoop ()
 Called once every tick.

Additional Inherited Members

- Public Types inherited from Driver
enum  Type {
  DT_BEGIN = 0, DT_MUSIC = 0, DT_SOUND, DT_VIDEO,
  DT_END
}
 The type of driver. More...
- Static Public Member Functions inherited from SoundDriver
static SoundDriverGetInstance ()
 Get the currently active instance of the sound driver.

Detailed Description

Implementation of the sound driver for Windows.

Definition at line 18 of file win32_s.h.

Member Function Documentation

const char* SoundDriver_Win32::GetName ( ) const
inlinevirtual

Get the name of this driver.

Returns
The name of the driver.

Implements Driver.

Definition at line 23 of file win32_s.h.

const char * SoundDriver_Win32::Start ( const char *const *  parm)
virtual

Start this driver.

Parameters
parmParameters passed to the driver.
Returns
NULL if everything went okay, otherwise an error message.

Implements Driver.

Definition at line 62 of file win32_s.cpp.

References error(), GB(), GetDriverParamInt(), min(), and Stop().


The documentation for this class was generated from the following files: