Mercurial > hg > openttd
view src/mixer.h @ 12411:9fdbb4594b82 draft
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
author | alberth <alberth@openttd.org> |
---|---|
date | Thu, 16 Jul 2009 16:22:23 +0000 |
parents | f3c3c2c4c36e |
children | daf116e1e6a0 |
line wrap: on
line source
/* $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 */