X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=snd_sdl.c;h=c88b28c8bb3d565fe3677375b23c1247d955edc7;hb=3d33cdedf26c48222748feebed9dff29b687dcb0;hp=793fc6a2554718d995084186ce79a4490a4bf7d0;hpb=d39861bfe72a5a9ec8cfbcc83457db58a74b75d9;p=xonotic%2Fdarkplaces.git diff --git a/snd_sdl.c b/snd_sdl.c index 793fc6a2..c88b28c8 100644 --- a/snd_sdl.c +++ b/snd_sdl.c @@ -160,16 +160,7 @@ qboolean SndSys_Init (const snd_format_t* requested, snd_format_t* suggested) snd_renderbuffer = Snd_CreateRingBuffer(requested, 0, NULL); if (snd_channellayout.integer == SND_CHANNELLAYOUT_AUTO) - { - int newlayout; - -#ifdef __linux__ - newlayout = SND_CHANNELLAYOUT_ALSA; -#else - newlayout = SND_CHANNELLAYOUT_STANDARD; -#endif - Cvar_SetValueQuick (&snd_channellayout, newlayout); - } + Cvar_SetValueQuick (&snd_channellayout, SND_CHANNELLAYOUT_STANDARD); sdlaudiotime = 0; SDL_PauseAudio( false );