X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=snd_sdl.c;h=cfeeb1b49905c5259e990d14e40d1662e81d22fa;hp=5e4157e60b8ca8554c88ee3005a3f0ef11941c40;hb=00141603df070f44751efaf4afbf9c8cfc7e2e74;hpb=32e78a871ab43f7f33462db677d2427c2a801122 diff --git a/snd_sdl.c b/snd_sdl.c index 5e4157e6..cfeeb1b4 100644 --- a/snd_sdl.c +++ b/snd_sdl.c @@ -101,6 +101,10 @@ qboolean SNDDMA_Init(void) if ((i=COM_CheckParm("-sndstereo")) != 0) if (channels != 2) continue; +// COMMANDLINEOPTION: SDL Sound: -sndquad sets sound output to 4 channel surround + if ((i=COM_CheckParm("-sndquad")) != 0) + if (channels != 4) + continue; // Init the SDL Audio subsystem wantspec.callback = Buffer_Callback; wantspec.userdata = NULL;