![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <snd_main.h>
Data Fields | |
unsigned int | endframe |
index of the first EMPTY frame in the "ring" buffer may be smaller than startframe if the "ring" buffer has wrapped | |
snd_format_t | format |
unsigned int | maxframes |
max size (buffer size), in sample frames | |
unsigned char * | ring |
unsigned int | startframe |
index of the first frame in the buffer if startframe == endframe, the bufffer is empty | |
Definition at line 45 of file snd_main.h.
unsigned int snd_ringbuffer_t::endframe |
index of the first EMPTY frame in the "ring" buffer may be smaller than startframe if the "ring" buffer has wrapped
Definition at line 55 of file snd_main.h.
Referenced by Buffer_Callback(), S_PaintAndSubmit(), S_Shutdown(), and S_Startup().
snd_format_t snd_ringbuffer_t::format |
Definition at line 47 of file snd_main.h.
Referenced by Buffer_Callback(), S_GetSoundChannels(), S_GetSoundRate(), S_GetSoundWidth(), S_MixToBuffer(), S_PaintAndSubmit(), S_SetChannelLayout(), S_SoftClipPaintBuffer(), S_SoundInfo_f(), S_Startup(), S_StopAllSounds(), and Snd_CreateRingBuffer().
unsigned int snd_ringbuffer_t::maxframes |
max size (buffer size), in sample frames
Definition at line 49 of file snd_main.h.
Referenced by Buffer_Callback(), S_PaintAndSubmit(), S_SoundInfo_f(), S_Startup(), S_StopAllSounds(), and Snd_CreateRingBuffer().
unsigned char* snd_ringbuffer_t::ring |
Definition at line 48 of file snd_main.h.
Referenced by Buffer_Callback(), S_PaintAndSubmit(), S_Shutdown(), S_StopAllSounds(), Snd_CreateRingBuffer(), and SndSys_Shutdown().
unsigned int snd_ringbuffer_t::startframe |
index of the first frame in the buffer if startframe == endframe, the bufffer is empty
Definition at line 52 of file snd_main.h.
Referenced by Buffer_Callback(), S_PaintAndSubmit(), and S_Startup().