]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sound.h
implemented threaded audio mixing for SDL client (required some
[xonotic/darkplaces.git] / sound.h
diff --git a/sound.h b/sound.h
index 74f9ffe9b73e77274ab1ab99865c2dda8f2ae6e5..1889b87d8e6b7856881f5e50d7b60cbc3d9dc49c 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;
 
 
 // ====================================================================
@@ -60,6 +61,7 @@ void S_Terminate (void);
 
 void S_Startup (void);
 void S_Shutdown (void);
+void S_UnloadAllSounds_f (void);
 
 void S_Update(const matrix4x4_t *listenermatrix);
 void S_ExtraUpdate (void);
@@ -84,5 +86,6 @@ void S_SetChannelVolume (unsigned int ch_ind, float fvol);
 void S_BlockSound (void);
 void S_UnblockSound (void);
 
+int S_GetSoundRate (void);
 
 #endif