mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Pick default filter quality based on OS
This commit is contained in:
parent
d1d17a6c74
commit
b7b42a317c
1 changed files with 9 additions and 1 deletions
|
@ -77,7 +77,15 @@ cvar_t loadas8bit = {"loadas8bit", "0", CVAR_NONE};
|
|||
|
||||
cvar_t sndspeed = {"sndspeed", "11025", CVAR_NONE};
|
||||
cvar_t snd_mixspeed = {"snd_mixspeed", "44100", CVAR_NONE};
|
||||
cvar_t snd_filterquality = {"snd_filterquality", "5", CVAR_NONE};
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define SND_FILTERQUALITY_DEFAULT "5"
|
||||
#else
|
||||
#define SND_FILTERQUALITY_DEFAULT "1"
|
||||
#endif
|
||||
|
||||
cvar_t snd_filterquality = {"snd_filterquality", SND_FILTERQUALITY_DEFAULT,
|
||||
CVAR_NONE};
|
||||
|
||||
static cvar_t nosound = {"nosound", "0", CVAR_NONE};
|
||||
static cvar_t ambient_level = {"ambient_level", "0.3", CVAR_NONE};
|
||||
|
|
Loading…
Reference in a new issue