30 #include <SDL_mixer.h>
31 #include "../../shared/shared.h"
32 #include "../../shared/mathlib.h"
33 #include "../../common/cvar.h"
34 #include "../../common/mem.h"
39 #define SAMPLE_TYPES { "ogg", "wav", nullptr }
58 #define MAX_CHANNELS 64
This is a cvar definition. Cvars can be user modified and used in our menus e.g.
struct s_sample_s s_sample_t
cvar_t * snd_distance_scale
s_channel_t channels[MAX_CHANNELS]
memPool_t * cl_soundSysPool
struct s_channel_s s_channel_t
#define MAX_CHANNELS
the sound environment
struct s_sample_s * hashNext