Reduce default snd_numvoices to 64 and reduce max to 128

git-svn-id: https://svn.eduke32.com/eduke32@6934 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-07-01 04:51:19 +00:00
parent 29c2863750
commit ba7340ca47
2 changed files with 2 additions and 2 deletions

View file

@ -209,7 +209,7 @@ void CONFIG_SetDefaults(void)
#if defined GEKKO || defined __OPENDINGUX__
ud.config.NumVoices = 32;
#else
ud.config.NumVoices = 256;
ud.config.NumVoices = 64;
#endif
ud.config.ReverseStereo = 0;
ud.auto_run = 1;

View file

@ -1725,7 +1725,7 @@ int32_t registerosdcommands(void)
{ "snd_fxvolume", "volume of sound effects", (void *)&ud.config.FXVolume, CVAR_INT, 1, 255 },
{ "snd_mixrate", "sound mixing rate", (void *)&ud.config.MixRate, CVAR_INT, 0, 48000 },
{ "snd_numchannels", "the number of sound channels", (void *)&ud.config.NumChannels, CVAR_INT, 0, 2 },
{ "snd_numvoices", "the number of concurrent sounds", (void *)&ud.config.NumVoices, CVAR_INT, 0, 256 },
{ "snd_numvoices", "the number of concurrent sounds", (void *)&ud.config.NumVoices, CVAR_INT, 1, 128 },
{ "snd_reversestereo", "reverses the stereo channels", (void *)&ud.config.ReverseStereo, CVAR_BOOL, 0, 1 },
{ "snd_speech", "enables/disables player speech", (void *)&ud.config.VoiceToggle, CVAR_INT, 0, 5 },