Files @ r12762:39131363426b
Branch filter:

Location: cpp/openttd-patchpack/source/src/mixer.h

translators
(svn r17242) -Update from WebTranslator v3.0:
simplified_chinese - 4 changes by Gavin
czech - 10 changes by joeprusa
german - 1 changes by Roujin
swedish - 7 changes by hgj
/* $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, bool is16bit);
void MxSetChannelVolume(MixerChannel *mc, uint left, uint right);
void MxActivateChannel(MixerChannel*);

#endif /* MIXER_H */