UFO: Alien Invasion
Loading...
Searching...
No Matches
s_local.h File Reference
#include <SDL_mixer.h>
#include "../../shared/shared.h"
#include "../../shared/mathlib.h"
#include "../../common/cvar.h"
#include "../../common/mem.h"
Include dependency graph for s_local.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  s_sample_t
struct  s_channel_t
struct  s_env_t

Macros

#define SAMPLE_TYPES   { "ogg", "wav", nullptr }
 Supported sound file extensions.
#define MAX_CHANNELS   64
 the sound environment

Variables

memPool_tcl_soundSysPool
cvar_tsnd_volume
cvar_tsnd_distance_scale
s_env_t s_env

Macro Definition Documentation

◆ MAX_CHANNELS

#define MAX_CHANNELS   64

the sound environment

Definition at line 58 of file s_local.h.

Referenced by S_AllocChannel(), S_Frame(), S_Init(), and S_LoopSample().

◆ SAMPLE_TYPES

#define SAMPLE_TYPES   { "ogg", "wav", nullptr }

Supported sound file extensions.

Definition at line 39 of file s_local.h.

Referenced by S_CompleteSounds(), and S_LoadSampleChunk().

Variable Documentation

◆ cl_soundSysPool

memPool_t* cl_soundSysPool
extern

Definition at line 48 of file s_main.cpp.

Referenced by S_Init(), S_LoadSampleIdx(), and S_Shutdown().

◆ s_env

◆ snd_distance_scale

cvar_t* snd_distance_scale
extern

Definition at line 43 of file s_main.cpp.

Referenced by S_Init(), and S_SpatializeChannel().

◆ snd_volume

cvar_t* snd_volume
extern

Definition at line 42 of file s_main.cpp.

Referenced by S_Init(), S_LoopSample(), and S_PlaySample().