Macros | |
#define | SAMPLE_GAP 4 |
Functions | |
sfxbuffer_t * | SND_CacheGetBuffer (sfx_t *sfx) |
Get the pointer to the sound buffer. More... | |
void | SND_CacheRelease (sfx_t *sfx) |
Unlock a cached sound from memory. More... | |
sfxbuffer_t * | SND_CacheRetain (sfx_t *sfx) |
Lock a cached sound into memory. More... | |
sfxbuffer_t * | SND_CacheTouch (sfx_t *sfx) |
Ensure a cached sound is in memory. More... | |
wavinfo_t * | SND_CacheWavinfo (sfx_t *sfx) |
Retrieve wavinfo from a cached sound. More... | |
sfxbuffer_t * | SND_GetCache (long frames, int rate, int channels, sfxblock_t *block, cache_allocator_t allocator) |
Allocate a sound buffer from cache for cached sounds. More... | |
int | SND_Load (sfx_t *sfx) |
Load the referenced sound. More... | |
int | SND_StreamAdvance (sfxbuffer_t *buffer, unsigned int count) |
Advance the position with the stream, updating the ring buffer as necessary. More... | |
sfxbuffer_t * | SND_StreamGetBuffer (sfx_t *sfx) |
Get the pointer to the sound buffer. More... | |
void | SND_StreamRelease (sfx_t *sfx) |
Unlock a streamed sound from memory. More... | |
sfxbuffer_t * | SND_StreamRetain (sfx_t *sfx) |
Lock a streamed sound into memory. More... | |
void | SND_StreamSetPos (sfxbuffer_t *buffer, unsigned int pos) |
Seek to an absolute position within the stream, resetting the ring buffer. More... | |
wavinfo_t * | SND_StreamWavinfo (sfx_t *sfx) |
Retrieve wavinfo from a streamed sound. More... | |
Variables | |
snd_render_data_t | snd_render_data |
volatile dma_t * | snd_shm |
#define SAMPLE_GAP 4 |