X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=snd_sdl.c;h=38fb20531a896af68c3432414e07191e7e6b1c56;hb=c8a2e03b26788ba4d0fccc7c7795b0320dd791c5;hp=4b262a69ad92869b5eb94b0e0d9a54e67068930a;hpb=d50445e9045ddea0d49857346597c57c129029e0;p=xonotic%2Fdarkplaces.git diff --git a/snd_sdl.c b/snd_sdl.c index 4b262a69..38fb2053 100644 --- a/snd_sdl.c +++ b/snd_sdl.c @@ -87,7 +87,7 @@ qboolean SNDDMA_Init(void) // Init the SDL Audio subsystem if( SDL_InitSubSystem( SDL_INIT_AUDIO ) ) { - Con_SafePrint( "Initializing the SDL Audio subsystem failed!\n" ); + Con_Print( "Initializing the SDL Audio subsystem failed!\n" ); return false; } @@ -118,13 +118,13 @@ qboolean SNDDMA_Init(void) // Init the SDL Audio subsystem spec.callback = Buffer_Callback; spec.channels = shm->format.channels; - spec.format = AUDIO_S16LSB; + spec.format = AUDIO_S16SYS; spec.freq = shm->format.speed; spec.userdata = NULL; spec.samples = AUDIO_SDL_SAMPLES; if( SDL_OpenAudio( &spec, NULL ) ) { - Con_SafePrint( "Failed to open the audio device!\n" ); + Con_Print( "Failed to open the audio device!\n" ); Con_DPrintf( "Audio Specification:\n" "\tChannels : %i\n"