File diff r24217:df2f5854f1e3 → r24218:c32caa9f014d
src/sound/sdl_s.cpp
Show inline comments
 
@@ -28,13 +28,13 @@ static FSoundDriver_SDL iFSoundDriver_SD
 
 */
 
static void CDECL fill_sound_buffer(void *userdata, Uint8 *stream, int len)
 
{
 
	MxMixSamples(stream, len / 4);
 
}
 

	
 
const char *SoundDriver_SDL::Start(const char * const *parm)
 
const char *SoundDriver_SDL::Start(const StringList &parm)
 
{
 
	SDL_AudioSpec spec;
 

	
 
	/* Only initialise SDL if the video driver hasn't done it already */
 
	int ret_code = 0;
 
	if (SDL_WasInit(SDL_INIT_EVERYTHING) == 0) {