diff options
author | peter1138 <peter1138@openttd.org> | 2009-07-13 10:17:22 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-07-13 10:17:22 +0000 |
commit | a67f861d5505106ec8b919222da762ab7d185af6 (patch) | |
tree | 872efbced77240a2052bf1942626bad71d4f6151 /src/mixer.h | |
parent | 2547ba9517a2137f58ea2227011f16605656813e (diff) | |
download | openttd-a67f861d5505106ec8b919222da762ab7d185af6.tar.xz |
(svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always had the same value.
Diffstat (limited to 'src/mixer.h')
-rw-r--r-- | src/mixer.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mixer.h b/src/mixer.h index 562954d5f..cdd6f65b4 100644 --- a/src/mixer.h +++ b/src/mixer.h @@ -7,18 +7,11 @@ struct 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 MxSetChannelRawSrc(MixerChannel *mc, int8 *mem, size_t size, uint rate, uint flags); +void MxSetChannelRawSrc(MixerChannel *mc, int8 *mem, size_t size, uint rate); void MxSetChannelVolume(MixerChannel *mc, uint left, uint right); void MxActivateChannel(MixerChannel*); |