summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
authorSimon Howard2013-09-22 22:03:32 +0000
committerSimon Howard2013-09-22 22:03:32 +0000
commitc2f1c3bffe1c2922c7f5d83549bd6111b880f4c2 (patch)
tree48793942565dffc07febe17c4940cdea72c0391f /src/hexen
parent20fcb6053d7d9c212a2b5a9e1a4aa4be0e97040b (diff)
downloadchocolate-doom-c2f1c3bffe1c2922c7f5d83549bd6111b880f4c2.tar.gz
chocolate-doom-c2f1c3bffe1c2922c7f5d83549bd6111b880f4c2.tar.bz2
chocolate-doom-c2f1c3bffe1c2922c7f5d83549bd6111b880f4c2.zip
Call I_PrecacheSounds() in Heretic/Hexen startup code so that sounds are
resampled for libsamplerate users. Subversion-branch: /branches/v2-branch Subversion-revision: 2680
Diffstat (limited to 'src/hexen')
-rw-r--r--src/hexen/s_sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hexen/s_sound.c b/src/hexen/s_sound.c
index 438d4679..45890300 100644
--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -737,6 +737,8 @@ void S_Init(void)
I_AtExit(S_ShutDown, true);
+ I_PrecacheSounds(S_sfx, NUMSFX);
+
#ifdef CDMUSIC
//TODO
// Attempt to setup CD music