SoundDriver_SDL Class Reference

Implementation of the SDL sound driver. More...

#include <sdl_s.h>

Inheritance diagram for SoundDriver_SDL:
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.

Detailed Description

Implementation of the SDL sound driver.

Definition at line 18 of file sdl_s.h.


Member Function Documentation

const char* SoundDriver_SDL::GetName (  )  const [inline, virtual]

Get the name of this driver.

Returns:
The name of the driver.

Implements Driver.

Definition at line 23 of file sdl_s.h.

const char * SoundDriver_SDL::Start ( const char *const *  parm  )  [virtual]

Start this driver.

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

Implements Driver.

Definition at line 35 of file sdl_s.cpp.

References fill_sound_buffer(), GetDriverParamInt(), and SdlOpen().


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

Generated on Fri Jun 3 05:20:29 2011 for OpenTTD by  doxygen 1.6.1