QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sound.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  sfx_s
 

Typedefs

typedef struct sfx_s sfx_t
 

Functions

struct channel_sS_AllocChannel (void)
 Allocate a sound channel that can be used for playing sounds. More...
 
void S_AmbientOff (void)
 Disable ambient sounds. More...
 
void S_AmbientOn (void)
 Enable ambient sounds. More...
 
void S_BlockSound (void)
 Pause the sound output. More...
 
void S_ChannelStop (struct channel_s *chan)
 Stop and safely free a channel. More...
 
void S_ExtraUpdate (void)
 Render some more sound without updating the client's position/orientation. More...
 
void S_Init (int *viewentity, double *host_frametime)
 Initialize the sound engine. More...
 
void S_Init_Cvars (void)
 Initialize the Cvars for the sound engine. More...
 
sfx_tS_LoadSound (const char *name)
 Pre-load a sound. More...
 
void S_LocalSound (const char *s)
 Start a sound local to the client view. More...
 
sfx_tS_PrecacheSound (const char *sample)
 Pre-load a sound into the cache. More...
 
void S_Progs_Init (struct progs_s *pr)
 
void S_Shutdown (void)
 Shutdown the sound engine. More...
 
void S_StartSound (int entnum, int entchannel, sfx_t *sfx, const vec3_t origin, float fvol, float attenuation)
 Start a sound playing. More...
 
void S_StaticSound (sfx_t *sfx, const vec3_t origin, float vol, float attenuation)
 Create a sound generated by the world. More...
 
void S_StopAllSounds (void)
 Stop all sounds from playing. More...
 
void S_StopSound (int entnum, int entchannel)
 Stop an entity's sound. More...
 
void S_UnblockSound (void)
 Unpause the sound output. More...
 
void S_Update (const vec3_t origin, const vec3_t v_forward, const vec3_t v_right, const vec3_t v_up, const byte *ambient_sound_level)
 Update the sound engine with the client's position and orientation and render some sound. More...