summaryrefslogtreecommitdiff
path: root/src/doom
diff options
context:
space:
mode:
Diffstat (limited to 'src/doom')
-rw-r--r--src/doom/d_main.c2
-rw-r--r--src/doom/s_sound.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 5f7e2051..b2566176 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1470,6 +1470,8 @@ void D_DoomMain (void)
I_CheckIsScreensaver();
I_InitTimer();
I_InitJoystick();
+ I_InitSound(true);
+ I_InitMusic();
#ifdef FEATURE_MULTIPLAYER
printf ("NET_Init: Init network subsystem.\n");
diff --git a/src/doom/s_sound.c b/src/doom/s_sound.c
index 12a55d8f..7b000e94 100644
--- a/src/doom/s_sound.c
+++ b/src/doom/s_sound.c
@@ -122,9 +122,6 @@ void S_Init(int sfxVolume, int musicVolume)
{
int i;
- I_InitSound(true);
- I_InitMusic();
-
I_PrecacheSounds(S_sfx, NUMSFX);
S_SetSfxVolume(sfxVolume);