foxygit / doom Log in
commit f596cfcd76c8c03c41c0691561c9b3c9c4419393
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Mon Apr 4 18:40:28 2011 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Mon Apr 4 18:40:28 2011 +0000

    Change setup tool default sampling rate to 44100Hz to match the game
    (thanks Alexandre Xavier).

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 2319
---
 NEWS          | 2 ++
 setup/sound.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 7c7457aa..73206691 100644
--- a/NEWS
+++ b/NEWS
@@ -45,6 +45,8 @@
        works properly (thanks Alexandre Xavier).
      * MIDI playback that locked up when using an empty MUS / MIDI
        file (thanks Alexandre Xavier).
+     * Default sampling rate used by setup tool changed to 44100Hz, to
+       match the game default (thanks Alexandre Xavier).

     libtextscreen:
      * It is now possible to type a '+' in input boxes (thanks
diff --git a/setup/sound.c b/setup/sound.c
index 2352baa1..7386e789 100644
--- a/setup/sound.c
+++ b/setup/sound.c
@@ -64,7 +64,7 @@ int sfxVolume = 8;
 int snd_musicdevice = SNDDEVICE_GENMIDI;
 int musicVolume = 8;

-int snd_samplerate = 22050;
+int snd_samplerate = 44100;
 int opl_io_port = 0x388;

 int use_libsamplerate = 0;