From 5a620d1c6592057b500f0889eef8949dc1e95e4b Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 May 2011 19:51:52 +0000 Subject: (svn r22406) -Document: some more "random-ish" tidbits --- src/sound/sdl_s.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/sound/sdl_s.cpp') diff --git a/src/sound/sdl_s.cpp b/src/sound/sdl_s.cpp index 57ef9ab9d..7e1c3e993 100644 --- a/src/sound/sdl_s.cpp +++ b/src/sound/sdl_s.cpp @@ -18,8 +18,15 @@ #include "sdl_s.h" #include +/** Factory for the SDL sound driver. */ static FSoundDriver_SDL iFSoundDriver_SDL; +/** + * Callback that fills the sound buffer. + * @param userdata Ignored. + * @param stream The stream to put data into. + * @param len The length of the stream in bytes. + */ static void CDECL fill_sound_buffer(void *userdata, Uint8 *stream, int len) { MxMixSamples(stream, len / 4); -- cgit v1.2.3-54-g00ecf