aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-04-19 22:28:01 -0700
committerChris Robinson <[email protected]>2012-04-19 22:28:01 -0700
commitc9e64596a4266bdb6a9b76e30068d725729123c3 (patch)
tree8271b7b3fad1b26c301ab62eed46389c1a2f2d56 /OpenAL32/Include
parent08bd5e8b37f63711a5d4d40418188e21c603f856 (diff)
Use a consistent name for the self-id field
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h4
-rw-r--r--OpenAL32/Include/alEffect.h4
-rw-r--r--OpenAL32/Include/alFilter.h4
-rw-r--r--OpenAL32/Include/alSource.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index 9cc9accb..5b3c723a 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -28,8 +28,8 @@ typedef struct ALeffectslot
RefCount ref;
- // Index to itself
- ALuint effectslot;
+ /* Self ID */
+ ALuint id;
struct ALeffectslot *next;
} ALeffectslot;
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h
index ff7acc46..dfe0a2a8 100644
--- a/OpenAL32/Include/alEffect.h
+++ b/OpenAL32/Include/alEffect.h
@@ -85,8 +85,8 @@ typedef struct ALeffect
void (*GetParamf)(struct ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val);
void (*GetParamfv)(struct ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals);
- // Index to itself
- ALuint effect;
+ /* Self ID */
+ ALuint id;
} ALeffect;
#define ALeffect_SetParami(x, c, p, v) ((x)->SetParami((x),(c),(p),(v)))
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h
index 7d1f7ec0..a3c0d3cd 100644
--- a/OpenAL32/Include/alFilter.h
+++ b/OpenAL32/Include/alFilter.h
@@ -87,8 +87,8 @@ typedef struct ALfilter {
void (*GetParamf)(struct ALfilter *filter, ALCcontext *context, ALenum param, ALfloat *val);
void (*GetParamfv)(struct ALfilter *filter, ALCcontext *context, ALenum param, ALfloat *vals);
- // Index to itself
- ALuint filter;
+ /* Self ID */
+ ALuint id;
} ALfilter;
#define ALfilter_SetParami(x, c, p, v) ((x)->SetParami((x),(c),(p),(v)))
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 841f0498..35062260 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -125,8 +125,8 @@ typedef struct ALsource
ALvoid (*Update)(struct ALsource *self, const ALCcontext *context);
- // Index to itself
- ALuint source;
+ /* Self ID */
+ ALuint id;
} ALsource;
#define ALsource_Update(s,a) ((s)->Update(s,a))