summaryrefslogtreecommitdiff
path: root/src/heretic
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/heretic
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/heretic')
-rw-r--r--src/heretic/s_sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/heretic/s_sound.c b/src/heretic/s_sound.c
index e94f17a5..755206b4 100644
--- a/src/heretic/s_sound.c
+++ b/src/heretic/s_sound.c
@@ -532,6 +532,8 @@ void S_Init(void)
S_SetMaxVolume(true);
I_AtExit(S_ShutDown, true);
+
+ I_PrecacheSounds(S_sfx, NUMSFX);
}
void S_GetChannelInfo(SoundInfo_t * s)