aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-06-28 18:49:49 -0700
committerChris Robinson <[email protected]>2012-06-28 18:49:49 -0700
commit583dc8dbcaf8ce59678fe287b1e584c2f99b7f3c (patch)
treef71172e7731bb6711e6a4768196f76aec02e6635 /OpenAL32/Include/alSource.h
parentbefa4e7528f5ca1f54481bf137706de0239e98eb (diff)
Don't use all caps for enum value names
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index f76f618d..6a85567e 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -31,17 +31,17 @@ typedef struct ALbufferlistitem
typedef struct HrtfState {
ALboolean Moving;
ALuint Counter;
- ALfloat History[MAXCHANNELS][SRC_HISTORY_LENGTH];
- ALfloat Values[MAXCHANNELS][HRIR_LENGTH][2];
+ ALfloat History[MaxChannels][SRC_HISTORY_LENGTH];
+ ALfloat Values[MaxChannels][HRIR_LENGTH][2];
ALuint Offset;
} HrtfState;
typedef struct HrtfParams {
ALfloat Gain;
ALfloat Dir[3];
- ALfloat Coeffs[MAXCHANNELS][HRIR_LENGTH][2];
- ALuint Delay[MAXCHANNELS][2];
- ALfloat CoeffStep[HRIR_LENGTH][2];
+ ALfloat Coeffs[MaxChannels][HRIR_LENGTH][2];
+ ALuint Delay[MaxChannels][2];
+ ALfloat CoeffStep[MaxChannels][2];
ALint DelayStep[2];
} HrtfParams;
@@ -50,12 +50,12 @@ typedef struct DirectParams {
/* A mixing matrix. First subscript is the channel number of the input data
* (regardless of channel configuration) and the second is the channel
- * target (eg. FRONT_LEFT). Not used with HRTF. */
- ALfloat Gains[MAXCHANNELS][MAXCHANNELS];
+ * target (eg. FrontLeft). Not used with HRTF. */
+ ALfloat Gains[MaxChannels][MaxChannels];
/* A low-pass filter, using 2 chained one-pole filters. */
FILTER iirFilter;
- ALfloat history[MAXCHANNELS*2];
+ ALfloat history[MaxChannels*2];
} DirectParams;
typedef struct SendParams {
@@ -65,7 +65,7 @@ typedef struct SendParams {
/* A low-pass filter, using 2 chained one-pole filters. */
FILTER iirFilter;
- ALfloat history[MAXCHANNELS*2];
+ ALfloat history[MaxChannels*2];
} SendParams;