]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sound.h
changed DP_SMALLMEMORY compiles to use the standard NET_MAXMESSAGE value
[xonotic/darkplaces.git] / sound.h
diff --git a/sound.h b/sound.h
index 5c60c1e7f7d543966cc866886d8311098c22bdb1..183b71e0607ecf777ac346e2c2bf68ead576d7fd 100644 (file)
--- a/sound.h
+++ b/sound.h
@@ -66,8 +66,8 @@ void S_UnloadAllSounds_f (void);
 void S_Update(const matrix4x4_t *listenermatrix);
 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);
+sfx_t *S_PrecacheSound (const char *sample, qboolean complain, qboolean serversound);
+void S_ClearUsed (void);
 void S_PurgeUnused (void);
 qboolean S_IsSoundPrecached (const sfx_t *sfx);
 
@@ -83,6 +83,7 @@ void S_PauseGameSounds (qboolean toggle);
 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);
 
 void S_BlockSound (void);
 void S_UnblockSound (void);