diff options
author | Chris Robinson <[email protected]> | 2011-07-02 21:33:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-02 21:33:53 -0700 |
commit | ac7ca07221c0a5c06b2502baa21ea94e5b65395c (patch) | |
tree | 8d5b7d67077d26c397342f814c897e0811240750 /OpenAL32/Include/alu.h | |
parent | b043390ec2ad465acc12b98acdb51909bdfdd667 (diff) |
Get rid of a couple typedefs
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 4e794f26..9ac3b234 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -70,7 +70,7 @@ typedef ALvoid (*MixerFunc)(struct ALsource *self, ALCdevice *Device, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize); -typedef enum { +enum Resampler { POINT_RESAMPLER = 0, LINEAR_RESAMPLER, CUBIC_RESAMPLER, @@ -78,9 +78,9 @@ typedef enum { RESAMPLER_MAX, RESAMPLER_MIN = -1, RESAMPLER_DEFAULT = LINEAR_RESAMPLER -} resampler_t; +}; -typedef enum { +enum Channel { FRONT_LEFT = 0, FRONT_RIGHT, FRONT_CENTER, @@ -92,7 +92,7 @@ typedef enum { SIDE_RIGHT, MAXCHANNELS -} Channel; +}; #define BUFFERSIZE 4096 @@ -135,8 +135,8 @@ ALint aluCart2LUTpos(ALfloat re, ALfloat im); ALvoid CalcSourceParams(struct ALsource *ALSource, const ALCcontext *ALContext); ALvoid CalcNonAttnSourceParams(struct ALsource *ALSource, const ALCcontext *ALContext); -MixerFunc SelectMixer(struct ALbuffer *Buffer, resampler_t Resampler); -MixerFunc SelectHrtfMixer(struct ALbuffer *Buffer, resampler_t Resampler); +MixerFunc SelectMixer(struct ALbuffer *Buffer, enum Resampler Resampler); +MixerFunc SelectHrtfMixer(struct ALbuffer *Buffer, enum Resampler Resampler); ALvoid MixSource(struct ALsource *Source, ALCdevice *Device, ALuint SamplesToDo); |