void S_LoadSamples(void)
Wrapper for S_PrecacheSamples to avoid exposing it via s_sample.h.
int S_LoadSampleIdx(const char *soundFile)
Loads and registers a sound file for later use.
void S_StartLocalSample(const char *s, float volume)
Plays a sample without spatialization.
stdsound_t
These sounds are precached in S_LoadSamples.
void S_PlayStdSample(const stdsound_t sId, const vec3_t origin, float atten, float volume)
plays one of the precached samples
bool S_LoadAndPlaySample(const char *s, const vec3_t origin, float atten, float volume)
does what the name implies in just one function to avoid exposing s_sample_t
void S_SetSampleRepeatRate(int sampleRepeatRate)
Controls the repeat rate for the same sample.