]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sound.h
PROPERLY load the icon in SDL/X11
[xonotic/darkplaces.git] / sound.h
diff --git a/sound.h b/sound.h
index 2161ee8a5d61eb86b1710eac313d7baed2be64e9..37e53b06f1e541983304a6a8e68603ca43184759 100644 (file)
--- a/sound.h
+++ b/sound.h
@@ -45,6 +45,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 typedef struct sfx_s sfx_t;
 
+extern cvar_t mastervolume;
 extern cvar_t bgmvolume;
 extern cvar_t volume;
 extern cvar_t snd_initialized;
@@ -67,6 +68,7 @@ void S_Update(const matrix4x4_t *listenermatrix);
 void S_ExtraUpdate (void);
 
 sfx_t *S_PrecacheSound (const char *sample, qboolean complain, qboolean serversound);
+float S_SoundLength(const char *name);
 void S_ClearUsed (void);
 void S_PurgeUnused (void);
 qboolean S_IsSoundPrecached (const sfx_t *sfx);
@@ -85,6 +87,7 @@ 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);
 float S_GetChannelPosition (unsigned int ch_ind);
+float S_GetEntChannelPosition(int entnum, int entchannel);
 
 void S_BlockSound (void);
 void S_UnblockSound (void);