ref: c2f1c3bffe1c2922c7f5d83549bd6111b880f4c2
parent: 20fcb6053d7d9c212a2b5a9e1a4aa4be0e97040b
author: Simon Howard <[email protected]>
date: Sun Sep 22 18:03:32 EDT 2013
Call I_PrecacheSounds() in Heretic/Hexen startup code so that sounds are resampled for libsamplerate users. Subversion-branch: /branches/v2-branch Subversion-revision: 2680
--- a/src/heretic/s_sound.c
+++ b/src/heretic/s_sound.c
@@ -532,6 +532,8 @@
S_SetMaxVolume(true);
I_AtExit(S_ShutDown, true);
+
+ I_PrecacheSounds(S_sfx, NUMSFX);
}
void S_GetChannelInfo(SoundInfo_t * s)
--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -737,6 +737,8 @@
I_AtExit(S_ShutDown, true);
+ I_PrecacheSounds(S_sfx, NUMSFX);
+
#ifdef CDMUSIC
//TODO
// Attempt to setup CD music