Files @ r12655:32c621d8deb1
Branch filter:

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

smatz
(svn r17120) -Fix (r17114): {STRING2} isn't supposed to be in other lang files except english.txt
/* $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 */