Odamex
Setting the Standard in Multiplayer Doom
common/s_sound.h File Reference

Go to the source code of this file.

Data Structures

struct  sfxinfo_struct

Typedefs

typedef struct sfxinfo_struct sfxinfo_t

Functions

void S_Init (float sfxVolume, float musicVolume)
void S_Stop (void)
void S_Start (void)
void S_Sound (int channel, const char *name, float volume, int attenuation)
void S_Sound (AActor *ent, int channel, const char *name, float volume, int attenuation)
void S_Sound (fixed_t *pt, int channel, const char *name, float volume, int attenuation)
void S_Sound (fixed_t x, fixed_t y, int channel, const char *name, float volume, int attenuation)
void S_PlatSound (fixed_t *pt, int channel, const char *name, float volume, int attenuation)
void S_LoopedSound (AActor *ent, int channel, const char *name, float volume, int attenuation)
void S_LoopedSound (fixed_t *pt, int channel, const char *name, float volume, int attenuation)
void S_SoundID (int channel, int sfxid, float volume, int attenuation)
void S_SoundID (fixed_t x, fixed_t y, int channel, int sound_id, float volume, int attenuation)
void S_SoundID (AActor *ent, int channel, int sfxid, float volume, int attenuation)
void S_SoundID (fixed_t *pt, int channel, int sfxid, float volume, int attenuation)
void S_LoopedSoundID (AActor *ent, int channel, int sfxid, float volume, int attenuation)
void S_LoopedSoundID (fixed_t *pt, int channel, int sfxid, float volume, int attenuation)
void S_StopSound (AActor *ent, int channel)
void S_StopSound (fixed_t *pt, int channel)
void S_StopSound (fixed_t *pt)
bool S_StopSoundID (int sound_id)
void S_StopAllChannels (void)
bool S_GetSoundPlayingInfo (AActor *ent, int sound_id)
bool S_GetSoundPlayingInfo (fixed_t *pt, int sound_id)
void S_RelinkSound (AActor *from, AActor *to)
void S_StartMusic (const char *music_name)
void S_ChangeMusic (std::string music_name, int looping)
void S_StopMusic (void)
void S_PauseSound (void)
void S_ResumeSound (void)
void S_UpdateSounds (void *listener)
void S_SetMusicVolume (float volume)
void S_SetSfxVolume (float volume)
void S_ActivateAmbient (AActor *mobj, int ambient)
void S_ParseSndInfo (void)
void S_HashSounds (void)
int S_FindSound (const char *logicalname)
int S_FindSoundByLump (int lump)
int S_AddSound (char *logicalname, char *lumpname)
int S_AddSoundLump (char *logicalname, int lump)
void S_ClearSoundLumps (void)
void UV_SoundAvoidPlayer (AActor *mo, byte channel, const char *name, byte attenuation)
void S_NoiseDebug (void)

Variables

sfxinfo_tS_sfx
int numsfx
cvar_t noisedebug

Typedef Documentation

typedef struct sfxinfo_struct sfxinfo_t

Function Documentation

void S_ActivateAmbient ( AActor mobj,
int  ambient 
)
int S_AddSound ( char *  logicalname,
char *  lumpname 
)
int S_AddSoundLump ( char *  logicalname,
int  lump 
)
void S_ChangeMusic ( std::string  music_name,
int  looping 
)
void S_ClearSoundLumps ( void  )
int S_FindSound ( const char *  logicalname)
int S_FindSoundByLump ( int  lump)
bool S_GetSoundPlayingInfo ( fixed_t pt,
int  sound_id 
)
bool S_GetSoundPlayingInfo ( AActor ent,
int  sound_id 
)
void S_HashSounds ( void  )
void S_Init ( float  sfxVolume,
float  musicVolume 
)
void S_LoopedSound ( AActor ent,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_LoopedSound ( fixed_t pt,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_LoopedSoundID ( fixed_t pt,
int  channel,
int  sfxid,
float  volume,
int  attenuation 
)
void S_LoopedSoundID ( AActor ent,
int  channel,
int  sfxid,
float  volume,
int  attenuation 
)
void S_NoiseDebug ( void  )
void S_ParseSndInfo ( void  )
void S_PauseSound ( void  )
void S_PlatSound ( fixed_t pt,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_RelinkSound ( AActor from,
AActor to 
)
void S_ResumeSound ( void  )
void S_SetMusicVolume ( float  volume)
void S_SetSfxVolume ( float  volume)
void S_Sound ( fixed_t  x,
fixed_t  y,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_Sound ( int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_Sound ( AActor ent,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_Sound ( fixed_t pt,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_SoundID ( fixed_t pt,
int  channel,
int  sfxid,
float  volume,
int  attenuation 
)
void S_SoundID ( int  channel,
int  sfxid,
float  volume,
int  attenuation 
)
void S_SoundID ( fixed_t  x,
fixed_t  y,
int  channel,
int  sound_id,
float  volume,
int  attenuation 
)
void S_SoundID ( AActor ent,
int  channel,
int  sfxid,
float  volume,
int  attenuation 
)
void S_Start ( void  )
void S_StartMusic ( const char *  music_name)
void S_Stop ( void  )
void S_StopAllChannels ( void  )
void S_StopMusic ( void  )
void S_StopSound ( AActor ent,
int  channel 
)
void S_StopSound ( fixed_t pt)
void S_StopSound ( fixed_t pt,
int  channel 
)
bool S_StopSoundID ( int  sound_id)
void S_UpdateSounds ( void *  listener)
void UV_SoundAvoidPlayer ( AActor mo,
byte  channel,
const char *  name,
byte  attenuation 
)

Variable Documentation

int numsfx
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends