Files
@ r12610:fc69d9ebe92c
Branch filter:
Location: cpp/openttd-patchpack/source/src/mixer.h - annotation
r12610:fc69d9ebe92c
439 B
text/x-c
(svn r17063) -Fix: terraform toolbar had the wrong tooltip for building trees.
r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r9111:983de9c5a848 r6201:2e76eb9a1d7a r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r6248:b940b09d7ab8 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r7318:844268a38029 r5475:3f5cd13d1b63 r7318:844268a38029 r12368:3132b7036fc8 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 | /* $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 */
|