]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_sdl.c
now displays light number (and total number of lights) in r_editlights mode
[xonotic/darkplaces.git] / snd_sdl.c
index 45b359ac716467c5e0a043cef011d69a5918d9ea..4b262a69ad92869b5eb94b0e0d9a54e67068930a 100644 (file)
--- a/snd_sdl.c
+++ b/snd_sdl.c
@@ -17,6 +17,7 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 #include "quakedef.h"
+#include "snd_main.h"
 #include <SDL.h>
 
 /*
@@ -96,6 +97,7 @@ qboolean SNDDMA_Init(void)
        shm->format.channels = 2; //stereo
        shm->format.width = 2;
 
+// COMMANDLINEOPTION: SDL Sound: -sndspeed <hz> chooses 44100 hz, 22100 hz, or 11025 hz sound output rate
        i = COM_CheckParm( "-sndspeed" );
        if( i && i != ( com_argc - 1 ) )
                shm->format.speed = atoi( com_argv[ i+1 ] );