Mercurial > hg > openttd
view src/mixer.h @ 12645:b9f1e5ce4831 draft
(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work
author | rubidium <rubidium@openttd.org> |
---|---|
date | Thu, 06 Aug 2009 22:00:32 +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 */