X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=snd_null.c;h=ab5b4c6e7f70d39880d70e5444a4b104ce3a87a5;hb=34e18371c4b0593a50e787ee21a96d1594a733f8;hp=22a606dad631c6e1d4917737f829d99b249f77ef;hpb=a872390bab98541113a9e276672e8d01d2e04434;p=xonotic%2Fdarkplaces.git diff --git a/snd_null.c b/snd_null.c index 22a606da..ab5b4c6e 100755 --- a/snd_null.c +++ b/snd_null.c @@ -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; +} +