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_s * | snd_interp |
| struct cvar_s * | snd_loadas8bit |
| portable_samplepair_t | snd_paintbuffer [PAINTBUFFER_SIZE *2] |
| snd_render_data_t | snd_render_data |
| volatile dma_t * | snd_shm |
| struct cvar_s * | snd_stereo_phase_separation |
| struct cvar_s * | snd_volume |
| #define PAINTBUFFER_SIZE 512 |
| typedef struct portable_samplepair_s portable_samplepair_t |
| typedef struct sfxblock_s sfxblock_t |
| typedef struct sfxbuffer_s sfxbuffer_t |
paint samples into the mix buffer
| offset | offset into the mix buffer at which to start mixing the channel |
| ch | sound channel |
| buffer | sound data |
| count | number of frames to paint |
| typedef struct sfxstream_s sfxstream_t |
| struct cvar_s* snd_interp |
| struct cvar_s* snd_loadas8bit |
| portable_samplepair_t snd_paintbuffer[PAINTBUFFER_SIZE *2] |
| snd_render_data_t snd_render_data |
| volatile dma_t* snd_shm |
| struct cvar_s* snd_stereo_phase_separation |
| struct cvar_s* snd_volume |