Files
@ r3478:523ece58cb16
Branch filter:
Location: cpp/openttd-patchpack/source/mixer.h - annotation
r3478:523ece58cb16
503 B
text/x-c
(svn r4323) -Regression: Clear the slot assignments of all vehicles heading twoards a road stop if that road stop gets removed
This issue was fixed in r2210 and reintroduced in r4259 when the multistop handling was overhauled.
This issue was fixed in r2210 and reintroduced in r4259 when the multistop handling was overhauled.
r2186:5ee653b1b5e1 r2186:5ee653b1b5e1 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r1496:eab93f4e2718 r2977:6a8a4298e856 r2977:6a8a4298e856 r1496:eab93f4e2718 r2977:6a8a4298e856 r1496:eab93f4e2718 r1496:eab93f4e2718 r1498:367403f05f1e r1496:eab93f4e2718 r2436:963efe8b84cc | /* $Id$ */
#ifndef MIXER_H
#define MIXER_H
typedef struct MixerChannel MixerChannel;
enum {
MX_AUTOFREE = 1,
// MX_8BIT = 2,
// MX_STEREO = 4,
// MX_UNSIGNED = 8,
};
bool MxInitialize(uint rate);
void MxMixSamples(void* buffer, uint samples);
MixerChannel* MxAllocateChannel(void);
void MxSetChannelRawSrc(MixerChannel *mc, int8 *mem, uint size, uint rate, uint flags);
void MxSetChannelVolume(MixerChannel *mc, uint left, uint right);
void MxActivateChannel(MixerChannel*);
#endif /* MIXER_H */
|