From c2f1c3bffe1c2922c7f5d83549bd6111b880f4c2 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 22 Sep 2013 22:03:32 +0000 Subject: Call I_PrecacheSounds() in Heretic/Hexen startup code so that sounds are resampled for libsamplerate users. Subversion-branch: /branches/v2-branch Subversion-revision: 2680 --- src/heretic/s_sound.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/heretic') 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) -- cgit v1.2.3