]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
add a COMMANDLINEOPTION block for -sndseqin
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Sep 2009 13:04:49 +0000 (13:04 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Sep 2009 13:04:49 +0000 (13:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9233 d7cf8633-e32d-0410-b094-e92efae38249

snd_alsa.c

index 59c85edfcacb9ac79ae3b6aa21e81c4d99b575fb..4601e9c4da7af434e3ebec72f0514212ee7c80a6 100644 (file)
@@ -57,6 +57,7 @@ qboolean SndSys_Init (const snd_format_t* requested, snd_format_t* suggested)
        Con_Print ("SndSys_Init: using the ALSA module\n");
 
        seq_name = NULL;
+// COMMANDLINEOPTION: Linux ALSA Sound: -sndseqin <client>:<port> selects which sequencer port to use for input, by default no sequencer port is used (MIDI note events from that port get mapped to MIDINOTE<n> keys that can be bound)
        i = COM_CheckParm ("-sndseqin"); // TODO turn this into a cvar, maybe
        if (i != 0 && i < com_argc - 1)
                seq_name = com_argv[i + 1];
@@ -150,7 +151,7 @@ seqdone:
                        pcm_name = "default";
                        break;
        }
-// COMMANDLINEOPTION: Linux ALSA Sound: -sndpcm <devicename> selects which pcm device to us, default is "default"
+// COMMANDLINEOPTION: Linux ALSA Sound: -sndpcm <devicename> selects which pcm device to use, default is "default"
        i = COM_CheckParm ("-sndpcm");
        if (i != 0 && i < com_argc - 1)
                pcm_name = com_argv[i + 1];