foxygit / doom Log in
commit 476323d7dd83dc69619e0dfe136b22637643f971
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Oct 20 20:06:25 2013 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Oct 20 20:06:25 2013 +0000

    Use OPL MIDI playback as the default music device.

    Subversion-branch: /branches/v2-branch
    Subversion-revision: 2714
---
 src/i_sound.c     | 2 +-
 src/setup/sound.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/i_sound.c b/src/i_sound.c
index 19a697d8..5106cf97 100644
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -52,7 +52,7 @@ int snd_cachesize = 64 * 1024 * 1024;
 static sound_module_t *sound_module;
 static music_module_t *music_module;

-int snd_musicdevice = SNDDEVICE_GENMIDI;
+int snd_musicdevice = SNDDEVICE_SB;
 int snd_sfxdevice = SNDDEVICE_SB;

 // Sound modules
diff --git a/src/setup/sound.c b/src/setup/sound.c
index dae07413..9c635335 100644
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -70,7 +70,7 @@ static char *cfg_extension[] = { "cfg", NULL };
 // Config file variables:

 int snd_sfxdevice = SNDDEVICE_SB;
-int snd_musicdevice = SNDDEVICE_GENMIDI;
+int snd_musicdevice = SNDDEVICE_SB;
 int snd_samplerate = 44100;
 int opl_io_port = 0x388;
 int snd_cachesize = 64 * 1024 * 1024;