mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Change sound default. Null is a useless default. SDL default in windows, oss in linux.
This commit is contained in:
parent
835468bcfb
commit
489e23357e
1 changed files with 6 additions and 3 deletions
|
@ -69,8 +69,6 @@ plugin_list_t snd_render_list[] = {
|
||||||
SND_RENDER_LIST
|
SND_RENDER_LIST
|
||||||
};
|
};
|
||||||
|
|
||||||
// FIXME: ewwwies
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
S_Init (struct model_s **worldmodel, int *viewentity, double *host_frametime)
|
S_Init (struct model_s **worldmodel, int *viewentity, double *host_frametime)
|
||||||
|
@ -122,8 +120,13 @@ S_Init_Cvars (void)
|
||||||
"CD music volume");
|
"CD music volume");
|
||||||
snd_interp = Cvar_Get ("snd_interp", "1", CVAR_ARCHIVE, NULL,
|
snd_interp = Cvar_Get ("snd_interp", "1", CVAR_ARCHIVE, NULL,
|
||||||
"control sample interpolation");
|
"control sample interpolation");
|
||||||
snd_output = Cvar_Get ("snd_output", "null", CVAR_ARCHIVE, NULL,
|
#ifdef _WIN32
|
||||||
|
snd_output = Cvar_Get ("snd_output", "sdl", CVAR_ARCHIVE, NULL,
|
||||||
"Sound Output Plugin to use");
|
"Sound Output Plugin to use");
|
||||||
|
#else
|
||||||
|
snd_output = Cvar_Get ("snd_output", "oss", CVAR_ARCHIVE, NULL,
|
||||||
|
"Sound Output Plugin to use");
|
||||||
|
#endif
|
||||||
snd_render = Cvar_Get ("snd_render", "default", CVAR_ARCHIVE, NULL,
|
snd_render = Cvar_Get ("snd_render", "default", CVAR_ARCHIVE, NULL,
|
||||||
"Sound Renderer Plugin to use");
|
"Sound Renderer Plugin to use");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue