Modules | |
Sound channels | |
Output sound is mixed from an number of active sound channels. | |
Sound sfx | |
Functions | |
void | SND_InitScaletable (void) |
Initialize the scale table for painting of 8 bit samples. More... | |
void | SND_PaintChannels (unsigned int endtime) |
Mix all active channels into the output buffer. More... | |
void | SND_SetPaint (sfxbuffer_t *sc) |
Set the paint function of the sfxbuffer. More... | |
Variables | |
unsigned | snd_paintedtime |
sound clock in samples More... | |
void SND_InitScaletable | ( | void | ) |
Initialize the scale table for painting of 8 bit samples.
void SND_PaintChannels | ( | unsigned int | endtime | ) |
Mix all active channels into the output buffer.
endtime | sample time until when to mix |
void SND_SetPaint | ( | sfxbuffer_t * | sc | ) |
Set the paint function of the sfxbuffer.
sc | sfxbuffer to set. |
unsigned snd_paintedtime |
sound clock in samples