]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sound.h
reworked animation interpolation code - entity_render_t now has
[xonotic/darkplaces.git] / sound.h
diff --git a/sound.h b/sound.h
index b1e0cb094cecd7731dc8b945e3eed52d173228e1..19f7e126b4a26f1f2e701465087423c8426f6efb 100644 (file)
--- a/sound.h
+++ b/sound.h
@@ -49,6 +49,7 @@ extern cvar_t bgmvolume;
 extern cvar_t volume;
 extern cvar_t snd_initialized;
 extern cvar_t snd_staticvolume;
+extern cvar_t snd_mutewhenidle;
 
 
 // ====================================================================
@@ -78,7 +79,7 @@ void S_StopSound (int entnum, int entchannel);
 void S_StopAllSounds (void);
 void S_PauseGameSounds (qboolean toggle);
 
-void S_StopChannel (unsigned int channel_ind);
+void S_StopChannel (unsigned int channel_ind, qboolean lockmutex);
 qboolean S_SetChannelFlag (unsigned int ch_ind, unsigned int flag, qboolean value);
 void S_SetChannelVolume (unsigned int ch_ind, float fvol);
 
@@ -86,5 +87,6 @@ void S_BlockSound (void);
 void S_UnblockSound (void);
 
 int S_GetSoundRate (void);
+int S_GetSoundChannels (void);
 
 #endif