Files
@ r4538:6da480304950
Branch filter:
Location: cpp/openttd-patchpack/source/mixer.h - annotation
r4538:6da480304950
503 B
text/x-c
(svn r6367) -Codechange: Speed up the animated cursors a bit so they move once in a while
at least.
at least.
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 */
|