X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=sound.h;h=af734196cc8fcddfab8aee88a4aa82198a34c3fc;hb=52833855527530cf136cebeabbe55e268de17c0d;hp=b571be4e98e1b9cfb2cb165c3e67fe0b64433ae8;hpb=a845e9f59600c6443cfca0517d9c30ee9f0904b9;p=xonotic%2Fdarkplaces.git diff --git a/sound.h b/sound.h index b571be4e..af734196 100644 --- a/sound.h +++ b/sound.h @@ -56,6 +56,8 @@ extern cvar_t snd_staticvolume; // ==================================================================== void S_Init (void); +void S_Terminate (void); + void S_Startup (void); void S_Shutdown (void); @@ -64,7 +66,6 @@ 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); -void S_UnlockSfx (sfx_t *sfx); // S_StartSound returns the channel index, or -1 if an error occurred int S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuation);