diff options
-rw-r--r-- | setup/configfile.c | 1 | ||||
-rw-r--r-- | setup/sound.c | 2 | ||||
-rw-r--r-- | setup/sound.h | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/setup/configfile.c b/setup/configfile.c index bbde0bbb..3f75d7f1 100644 --- a/setup/configfile.c +++ b/setup/configfile.c @@ -281,6 +281,7 @@ static default_t extra_defaults_list[] = {"mouseb_straferight", &mousebstraferight, DEFAULT_INT, 0, 0}, {"mouseb_use", &mousebuse, DEFAULT_INT, 0, 0}, {"mouseb_backward", &mousebbackward, DEFAULT_INT, 0, 0}, + {"use_libsamplerate", &use_libsamplerate, DEFAULT_INT, 0, 0}, }; static default_collection_t extra_defaults = diff --git a/setup/sound.c b/setup/sound.c index 6b427d58..72414c83 100644 --- a/setup/sound.c +++ b/setup/sound.c @@ -74,6 +74,8 @@ int musicVolume = 15; int snd_samplerate = 22050; +int use_libsamplerate = 0; + static int snd_sfxmode; static int snd_musicenabled; diff --git a/setup/sound.h b/setup/sound.h index 5ef0702e..170dda0a 100644 --- a/setup/sound.h +++ b/setup/sound.h @@ -31,6 +31,8 @@ extern int musicVolume; extern int snd_samplerate; +extern int use_libsamplerate; + void ConfigSound(void); #endif /* #ifndef SETUP_SOUND_H */ |