Change sound default. Null is a useless default. SDL default in windows, oss in linux.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-12-11 20:31:18 +00:00
parent 835468bcfb
commit 489e23357e

View file

@ -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");
} }