]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sound.h
oops, forgot these
[xonotic/darkplaces.git] / sound.h
diff --git a/sound.h b/sound.h
index af734196cc8fcddfab8aee88a4aa82198a34c3fc..74f9ffe9b73e77274ab1ab99865c2dda8f2ae6e5 100644 (file)
--- a/sound.h
+++ b/sound.h
@@ -66,6 +66,7 @@ void S_ExtraUpdate (void);
 
 sfx_t *S_PrecacheSound (const char *sample, qboolean complain, qboolean lock);
 void S_ServerSounds (char serversound [][MAX_QPATH], unsigned int numsounds);
+qboolean S_IsSoundPrecached (const sfx_t *sfx);
 
 // S_StartSound returns the channel index, or -1 if an error occurred
 int S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation);
@@ -80,5 +81,8 @@ void S_StopChannel (unsigned int channel_ind);
 qboolean S_SetChannelFlag (unsigned int ch_ind, unsigned int flag, qboolean value);
 void S_SetChannelVolume (unsigned int ch_ind, float fvol);
 
+void S_BlockSound (void);
+void S_UnblockSound (void);
+
 
 #endif