Go to the source code of this file.
Classes | |
struct | portable_samplepair_t |
struct | sfxcache_t |
struct | sfx_s |
struct | playsound_s |
struct | dma_t |
struct | channel_t |
struct | wavinfo_t |
Macros | |
#define | MAX_CHANNELS 32 |
#define | MAX_RAW_SAMPLES 8192 |
Typedefs | |
typedef struct sfx_s | sfx_t |
typedef struct playsound_s | playsound_t |
Functions | |
int | SNDDMA_Init (void) |
int | SNDDMA_GetDMAPos (void) |
void | SNDDMA_Shutdown (void) |
void | SNDDMA_BeginPainting (void) |
void | SNDDMA_Submit (void) |
wavinfo_t | GetWavinfo (char *name, byte *wav, int wavlength) |
void | S_InitScaletable (void) |
sfxcache_t * | S_LoadSound (sfx_t *s) |
void | S_IssuePlaysound (playsound_t *ps) |
void | S_PaintChannels (int endtime) |
channel_t * | S_PickChannel (int entnum, int entchannel) |
void | S_Spatialize (channel_t *ch) |
typedef struct playsound_s playsound_t |
void S_IssuePlaysound | ( | playsound_t * | ps | ) |
sfxcache_t* S_LoadSound | ( | sfx_t * | s | ) |
Definition at line 99 of file snd_mem.c.
Referenced by S_EndRegistration(), S_IssuePlaysound(), S_PaintChannels(), S_RegisterSound(), and S_StartSound().
channel_t channels[MAX_CHANNELS] |
Definition at line 42 of file snd_dma.c.
Referenced by ma_get_bytes_per_frame(), S_PaintChannels(), S_PickChannel(), S_RawSamples(), S_StopAllSounds(), S_Update(), stb_vorbis_decode_filename(), stb_vorbis_decode_frame_pushdata(), stb_vorbis_decode_memory(), stb_vorbis_get_frame_float(), stb_vorbis_get_samples_float(), stb_vorbis_get_samples_float_interleaved(), stb_vorbis_get_samples_short(), and stb_vorbis_get_samples_short_interleaved().
dma_t dma |
Definition at line 47 of file snd_dma.c.
Referenced by DS_CreateBuffers(), DS_DestroyBuffers(), GetSoundtime(), ResampleSfx(), S_ClearBuffer(), S_Init(), S_LoadSound(), S_RawSamples(), S_SoundInfo_f(), S_SpatializeOrigin(), S_StartSound(), S_TransferPaintBuffer(), S_TransferStereo16(), S_Update_(), SNDDMA_BeginPainting(), SNDDMA_GetDMAPos(), SNDDMA_Init(), SNDDMA_InitDirect(), SNDDMA_InitWav(), and SNDDMA_Submit().
vec3_t listener_forward |
Definition at line 50 of file snd_dma.c.
Referenced by S_Update().
vec3_t listener_origin |
Definition at line 49 of file snd_dma.c.
Referenced by S_SpatializeOrigin(), and S_Update().
vec3_t listener_right |
Definition at line 51 of file snd_dma.c.
Referenced by S_SpatializeOrigin(), and S_Update().
vec3_t listener_up |
Definition at line 52 of file snd_dma.c.
Referenced by S_Update().
int paintedtime |
Definition at line 57 of file snd_dma.c.
Referenced by GetSoundtime(), S_AddLoopSounds(), S_Init(), S_IssuePlaysound(), S_PaintChannels(), S_PickChannel(), S_RawSamples(), S_StartSound(), S_TransferPaintBuffer(), S_TransferStereo16(), S_Update(), S_Update_(), and SNDDMA_Submit().
cvar_t* s_khz |
Definition at line 77 of file snd_dma.c.
Referenced by S_Init(), SNDDMA_InitDirect(), and SNDDMA_InitWav().
cvar_t* s_loadas8bit |
Definition at line 76 of file snd_dma.c.
Referenced by ResampleSfx(), and S_Init().
cvar_t* s_mixahead |
Definition at line 79 of file snd_dma.c.
Referenced by S_Init(), and S_Update_().
cvar_t* s_nosound |
playsound_t s_pendingplays |
Definition at line 70 of file snd_dma.c.
Referenced by S_PaintChannels(), S_StartSound(), and S_StopAllSounds().
cvar_t* s_primary |
Definition at line 80 of file snd_dma.c.
Referenced by DS_CreateBuffers(), and S_Init().
int s_rawend |
Definition at line 83 of file snd_dma.c.
Referenced by S_ClearBuffer(), S_PaintChannels(), and S_RawSamples().
portable_samplepair_t s_rawsamples[MAX_RAW_SAMPLES] |
Definition at line 84 of file snd_dma.c.
Referenced by S_PaintChannels(), and S_RawSamples().
cvar_t* s_show |
Definition at line 78 of file snd_dma.c.
Referenced by S_Init(), S_IssuePlaysound(), and S_Update().
cvar_t* s_testsound |
Definition at line 75 of file snd_dma.c.
Referenced by S_Init(), and S_TransferPaintBuffer().
cvar_t* s_volume |
Definition at line 74 of file snd_dma.c.
Referenced by S_Init(), S_InitScaletable(), S_PaintChannels(), and S_Update().