]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_sdl.c
implemented DP_TRACE_HITCONTENTSMASK_SURFACEINFO extension, this allows QC to find...
[xonotic/darkplaces.git] / snd_sdl.c
index 5e4157e60b8ca8554c88ee3005a3f0ef11941c40..cfeeb1b49905c5259e990d14e40d1662e81d22fa 100644 (file)
--- 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;