QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Sound rendering sub-system.

Modules

 Cache/Stream Functions.
 
 Mixer engine.
 
 Resampling functions
 
 Sound loading functions
 

Data Structures

struct  channel_s
 Representation of a sound being played. More...
 
struct  dma_s
 communication structure between output drivers and renderer More...
 
struct  portable_samplepair_s
 Represent a sound sample in the mixer. More...
 
struct  sfxblock_s
 Representation of sound loaded into memory as a full block. More...
 
struct  sfxbuffer_s
 Buffer for storing sound samples in memory. More...
 
struct  sfxstream_s
 Representation of sound loaded that is streamed in as needed. More...
 
struct  wavinfo_s
 Describes the sound data. More...
 

Macros

#define PAINTBUFFER_SIZE   512
 

Typedefs

typedef struct channel_s channel_t
 
typedef struct dma_s dma_t
 
typedef struct
portable_samplepair_s 
portable_samplepair_t
 
typedef struct sfxblock_s sfxblock_t
 
typedef struct sfxbuffer_s sfxbuffer_t
 
typedef void sfxpaint_t (int, channel_t *, float *, unsigned)
 paint samples into the mix buffer More...
 
typedef struct sfxstream_s sfxstream_t
 
typedef struct wavinfo_s wavinfo_t
 

Variables

struct cvar_ssnd_interp
 
struct cvar_ssnd_loadas8bit
 
portable_samplepair_t snd_paintbuffer [PAINTBUFFER_SIZE *2]
 
snd_render_data_t snd_render_data
 
volatile dma_tsnd_shm
 
struct cvar_ssnd_stereo_phase_separation
 
struct cvar_ssnd_volume
 

Detailed Description

Macro Definition Documentation

#define PAINTBUFFER_SIZE   512

Typedef Documentation

typedef struct channel_s channel_t
typedef struct dma_s dma_t
typedef struct sfxblock_s sfxblock_t
typedef struct sfxbuffer_s sfxbuffer_t
typedef void sfxpaint_t(int, channel_t *, float *, unsigned)

paint samples into the mix buffer

Parameters
offsetoffset into the mix buffer at which to start mixing the channel
chsound channel
buffersound data
countnumber of frames to paint
typedef struct sfxstream_s sfxstream_t
typedef struct wavinfo_s wavinfo_t

Variable Documentation

struct cvar_s* snd_interp
struct cvar_s* snd_loadas8bit
snd_render_data_t snd_render_data
volatile dma_t* snd_shm
struct cvar_s* snd_stereo_phase_separation
struct cvar_s* snd_volume