From: havoc Date: Thu, 13 Jan 2005 06:31:30 +0000 (+0000) Subject: added S_ClearBuffer to sound.h and snd_null.c X-Git-Tag: xonotic-v0.1.0preview~5225 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ab99ad92446a3043f71afa0a9878499e9360d877;p=xonotic%2Fdarkplaces.git added S_ClearBuffer to sound.h and snd_null.c git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4924 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_null.c b/snd_null.c index 21e3f09f..5a8c94a1 100755 --- a/snd_null.c +++ b/snd_null.c @@ -78,6 +78,10 @@ void S_PauseGameSounds (qboolean toggle) { } +void S_ClearBuffer (void) +{ +} + void S_SetChannelVolume (unsigned int ch_ind, float fvol) { } diff --git a/sound.h b/sound.h index af734196..f5ab1b75 100644 --- a/sound.h +++ b/sound.h @@ -75,6 +75,7 @@ void S_StaticSound (sfx_t *sfx, vec3_t origin, float fvol, float attenuation); void S_StopSound (int entnum, int entchannel); void S_StopAllSounds (void); void S_PauseGameSounds (qboolean toggle); +void S_ClearBuffer (void); void S_StopChannel (unsigned int channel_ind); qboolean S_SetChannelFlag (unsigned int ch_ind, unsigned int flag, qboolean value);