summaryrefslogtreecommitdiff
path: root/src/i_sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_sound.c')
-rw-r--r--src/i_sound.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/i_sound.c b/src/i_sound.c
index 3401d014..e6910ea7 100644
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -289,6 +289,14 @@ boolean I_SoundIsPlaying(int channel)
}
}
+void I_PrecacheSounds(sfxinfo_t *sounds, int num_sounds)
+{
+ if (sound_module != NULL && sound_module->CacheSounds != NULL)
+ {
+ sound_module->CacheSounds(sounds, num_sounds);
+ }
+}
+
void I_InitMusic(void)
{
}