(svn r22406) -Document: some more "random-ish" tidbits
This commit is contained in:
@@ -18,8 +18,15 @@
|
||||
#include "sdl_s.h"
|
||||
#include <SDL.h>
|
||||
|
||||
/** 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);
|
||||
|
Reference in New Issue
Block a user