]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sound.h
fixed a crash with lights that have no clusters (a light outside the level) by alloca...
[xonotic/darkplaces.git] / sound.h
diff --git a/sound.h b/sound.h
index b09d89dd7a876e82ab464228db3d7960860850d3..f5ab1b7583df9b404211dea36da20aaccefd7d55 100644 (file)
--- a/sound.h
+++ b/sound.h
@@ -56,6 +56,8 @@ extern cvar_t snd_staticvolume;
 // ====================================================================
 
 void S_Init (void);
+void S_Terminate (void);
+
 void S_Startup (void);
 void S_Shutdown (void);
 
@@ -73,6 +75,7 @@ void S_StaticSound (sfx_t *sfx, vec3_t origin, float fvol, float attenuation);
 void S_StopSound (int entnum, int entchannel);
 void S_StopAllSounds (void);
 void S_PauseGameSounds (qboolean toggle);
+void S_ClearBuffer (void);
 
 void S_StopChannel (unsigned int channel_ind);
 qboolean S_SetChannelFlag (unsigned int ch_ind, unsigned int flag, qboolean value);