]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_null.c
collision.h doesn't need winding.h anymore
[xonotic/darkplaces.git] / snd_null.c
index d6f1269ffc07a0e6cebd87e786d28ca605f7abd0..df43df4f200bf9fd250eda56f6f3cf3ec36b0ed4 100755 (executable)
@@ -36,14 +36,6 @@ void S_Init (void)
        Cvar_RegisterVariable(&snd_initialized);
 }
 
-void S_AmbientOff (void)
-{
-}
-
-void S_AmbientOn (void)
-{
-}
-
 void S_Startup (void)
 {
 }
@@ -52,7 +44,7 @@ void S_Shutdown (void)
 {
 }
 
-void S_TouchSound (char *sample)
+void S_TouchSound (const char *sample, qboolean stdpath)
 {
 }
 
@@ -64,10 +56,6 @@ void S_PurgeUnused (void)
 {
 }
 
-void S_ClearBuffer (void)
-{
-}
-
 void S_StaticSound (sfx_t *sfx, vec3_t origin, float vol, float attenuation)
 {
 }
@@ -77,67 +65,56 @@ int S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float f
        return -1;
 }
 
-void S_StopSound (int entnum, int entchannel)
-{
-}
-
-void S_PauseGameSounds (void)
-{
-}
-
-void S_ResumeGameSounds (void)
+void S_StopChannel (unsigned int channel_ind)
 {
 }
 
-sfx_t *S_GetCached(const char *name)
+void S_PauseChannel (unsigned int channel_ind, qboolean toggle)
 {
-       return NULL;
 }
 
-sfx_t *S_PrecacheSound (char *sample, int complain)
+void S_LoopChannel (unsigned int channel_ind, qboolean toggle)
 {
-       return NULL;
 }
 
-void S_Update(vec3_t origin, vec3_t forward, vec3_t left, vec3_t up)
+void S_StopSound (int entnum, int entchannel)
 {
 }
 
-void S_StopAllSounds (qboolean clear)
+void S_PauseGameSounds (void)
 {
 }
 
-void S_ExtraUpdate (void)
+void S_ResumeGameSounds (void)
 {
 }
 
-void S_LocalSound (char *s)
+void S_SetChannelVolume (unsigned int ch_ind, float fvol)
 {
 }
 
-void S_RawSamples_Enqueue(short *samples, unsigned int length)
+sfx_t *S_GetCached(const char *name, qboolean stdpath)
 {
+       return NULL;
 }
 
-void S_RawSamples_Dequeue(int *samples, unsigned int length)
+sfx_t *S_PrecacheSound (const char *sample, qboolean complain, qboolean stdpath)
 {
+       return NULL;
 }
 
-void S_RawSamples_ClearQueue(void)
+void S_Update(const matrix4x4_t *matrix)
 {
 }
 
-int S_RawSamples_QueueWantsMore(void)
+void S_StopAllSounds (qboolean clear)
 {
-       return 0;
 }
 
-void S_ResampleBuffer16Stereo(short *input, int inputlength, short *output, int outputlength)
+void S_ExtraUpdate (void)
 {
 }
 
-int S_RawSamples_SampleRate(void)
+void S_LocalSound (const char *s, qboolean stdpath)
 {
-       return 0;
 }
-