mixer.h
Go to the documentation of this file.00001
00002
00005 #ifndef MIXER_H
00006 #define MIXER_H
00007
00008 struct MixerChannel;
00009
00010 enum {
00011 MX_AUTOFREE = 1,
00012
00013
00014
00015 };
00016
00017 bool MxInitialize(uint rate);
00018 void MxMixSamples(void *buffer, uint samples);
00019
00020 MixerChannel *MxAllocateChannel();
00021 void MxSetChannelRawSrc(MixerChannel *mc, int8 *mem, uint size, uint rate, uint flags);
00022 void MxSetChannelVolume(MixerChannel *mc, uint left, uint right);
00023 void MxActivateChannel(MixerChannel*);
00024
00025 #endif