23 bool MxInitialize(uint rate);
24 void MxMixSamples(
void *buffer, uint samples);
27 void MxSetChannelRawSrc(
MixerChannel *mc, int8_t *mem,
size_t size, uint rate,
bool is16bit);
34 void SetEffectVolume(uint8_t volume);
void MxCloseAllChannels()
Close all mixer channels.
void(* MxStreamCallback)(int16_t *buffer, size_t samples)
Type of callback functions for supplying PCM music.
uint32_t MxSetMusicSource(MxStreamCallback music_callback)
Set source of PCM music.
void MxSetChannelVolume(MixerChannel *mc, uint volume, float pan)
Set volume and pan parameters for a sound.