OpenTTD Source 20241224-master-gee860a5c8e
|
Playing sound via SDL. More...
#include "../stdafx.h"
#include "../mixer.h"
#include "sdl_s.h"
#include <SDL.h>
#include "../safeguards.h"
Go to the source code of this file.
Functions | |
static void CDECL | fill_sound_buffer (void *, Uint8 *stream, int len) |
Callback that fills the sound buffer. | |
Variables | |
static FSoundDriver_SDL | iFSoundDriver_SDL |
Factory for the SDL sound driver. | |
Playing sound via SDL.
Definition in file sdl_s.cpp.
|
static |
Callback that fills the sound buffer.
stream | The stream to put data into. |
len | The length of the stream in bytes. |
Definition at line 28 of file sdl_s.cpp.
Referenced by SoundDriver_SDL::Start().
|
static |