From 0480c925192df4f60416f3676ff4a295e2bc9e27 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 14 Jun 2007 21:45:50 +0000 Subject: Add configuration file variable to change the sound sample rate (snd_samplerate) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 906 --- src/m_misc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/m_misc.c') diff --git a/src/m_misc.c b/src/m_misc.c index ee3aae95..2d59675e 100644 --- a/src/m_misc.c +++ b/src/m_misc.c @@ -284,6 +284,7 @@ extern int vanilla_demo_limit; extern int snd_musicdevice; extern int snd_sfxdevice; +extern int snd_samplerate; // dos specific options: these are unused but should be maintained // so that the config file can be shared between chocolate @@ -406,6 +407,7 @@ static default_t extra_defaults_list[] = {"novert", &novert, DEFAULT_INT, 0, 0}, {"mouse_acceleration", &mouse_acceleration, DEFAULT_FLOAT, 0, 0}, {"mouse_threshold", &mouse_threshold, DEFAULT_INT, 0, 0}, + {"snd_samplerate", &snd_samplerate, DEFAULT_INT, 0, 0}, {"show_endoom", &show_endoom, DEFAULT_INT, 0, 0}, {"vanilla_savegame_limit", &vanilla_savegame_limit, DEFAULT_INT, 0, 0}, {"vanilla_demo_limit", &vanilla_demo_limit, DEFAULT_INT, 0, 0}, -- cgit v1.2.3