You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
439 B
C
19 lines
439 B
C
/* $Id$ */
|
|
|
|
/** @file mixer.h Functions to mix sound samples. */
|
|
|
|
#ifndef MIXER_H
|
|
#define MIXER_H
|
|
|
|
struct MixerChannel;
|
|
|
|
bool MxInitialize(uint rate);
|
|
void MxMixSamples(void *buffer, uint samples);
|
|
|
|
MixerChannel *MxAllocateChannel();
|
|
void MxSetChannelRawSrc(MixerChannel *mc, int8 *mem, size_t size, uint rate);
|
|
void MxSetChannelVolume(MixerChannel *mc, uint left, uint right);
|
|
void MxActivateChannel(MixerChannel*);
|
|
|
|
#endif /* MIXER_H */
|