]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_null.c
DP_QC_GETTIME_CDTRACK: extension to query the playing time of the current cd track.
[xonotic/darkplaces.git] / snd_null.c
index 22a606dad631c6e1d4917737f829d99b249f77ef..ab5b4c6e7f70d39880d70e5444a4b104ce3a87a5 100755 (executable)
@@ -49,10 +49,15 @@ void S_Shutdown (void)
 {
 }
 
-void S_ServerSounds (char serversound [][MAX_QPATH], unsigned int numsounds)
+void S_ClearUsed (void)
 {
 }
 
+void S_PurgeUnused (void)
+{
+}
+
+
 void S_StaticSound (sfx_t *sfx, vec3_t origin, float fvol, float attenuation)
 {
 }
@@ -62,7 +67,7 @@ int S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float f
        return -1;
 }
 
-void S_StopChannel (unsigned int channel_ind)
+void S_StopChannel (unsigned int channel_ind, qboolean lockmutex)
 {
 }
 
@@ -83,7 +88,7 @@ void S_SetChannelVolume (unsigned int ch_ind, float fvol)
 {
 }
 
-sfx_t *S_PrecacheSound (const char *sample, qboolean complain, qboolean lock)
+sfx_t *S_PrecacheSound (const char *sample, qboolean complain, qboolean serversound)
 {
        return NULL;
 }
@@ -131,3 +136,14 @@ int S_GetSoundRate(void)
 {
        return 0;
 }
+
+int S_GetSoundChannels(void)
+{
+       return 0;
+}
+
+float S_GetChannelPosition (unsigned int ch_ind)
+{
+       return -1;
+}
+