Quake II RTX doxygen
1.0 dev
|
|
Go to the documentation of this file.
21 #include "../client.h"
24 #include "client/sound/dma.h"
135 #define SOUND_FULLVOLUME 80
137 #define SOUND_LOOPATTENUATE 0.003
141 #define MAX_CHANNELS 32
154 #define S_MAX_RAW_SAMPLES 8192
162 extern cvar_t *
s_khz;
168 #define S_Malloc(x) Z_TagMalloc(x, TAG_SOUND)
169 #define S_CopyString(x) Z_TagCopyString(x, TAG_SOUND)
void AL_PlayChannel(channel_t *ch)
channel_t * S_PickChannel(int entnum, int entchannel)
sfxcache_t * AL_UploadSfx(sfx_t *s)
struct samplepair_s samplepair_t
struct sfxcache_s sfxcache_t
void S_InitScaletable(void)
struct playsound_s * prev
void AL_UnqueueRawSamples()
void AL_StopChannel(channel_t *ch)
struct playsound_s * next
channel_t channels[MAX_CHANNELS]
sfxcache_t * S_LoadSound(sfx_t *s)
void AL_DeleteSfx(sfx_t *s)
struct channel_s channel_t
samplepair_t s_rawsamples[S_MAX_RAW_SAMPLES]
void S_BuildSoundList(int *sounds)
int DMA_DriftBeginofs(float timeofs)
void S_IssuePlaysound(playsound_t *ps)
void AL_RawSamples(int samples, int rate, int width, int channels, byte *data, float volume)
sfx_t * S_SfxForHandle(qhandle_t hSfx)
void AL_StopAllChannels(void)
unsigned samples[LAG_WIDTH]
#define S_MAX_RAW_SAMPLES
struct playsound_s playsound_t
void DMA_ClearBuffer(void)
void S_PaintChannels(int endtime)
playsound_t s_pendingplays
int registration_sequence