diff options
author | Chris Robinson <[email protected]> | 2012-08-20 14:50:43 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-20 14:50:43 -0700 |
commit | 6a3619c40f0f20f82c155f8c9d7db533b7dbae6c (patch) | |
tree | e42b3d98928396f4221f2de13b1cdc3c19949fa0 | |
parent | 50fa9a44be948e11965cc1c79a037e1703360565 (diff) |
Fix a parameter name
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 | ||||
-rw-r--r-- | OpenAL32/alSource.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index bb8345db..c63a5083 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -51,7 +51,7 @@ typedef void (AL_APIENTRY*LPALGETSOURCEI64SOFT)(ALuint,ALenum,ALint64SOFT*); typedef void (AL_APIENTRY*LPALGETSOURCE3I64SOFT)(ALuint,ALenum,ALint64SOFT*,ALint64SOFT*,ALint64SOFT*); typedef void (AL_APIENTRY*LPALGETSOURCEI64VSOFT)(ALuint,ALenum,ALint64SOFT*); #ifdef AL_ALEXT_PROTOTYPES -AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64SOFT *values); +AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64SOFT *value); AL_API void AL_APIENTRY alGetSource3i64SOFT(ALuint source, ALenum param, ALint64SOFT *value1, ALint64SOFT *value2, ALint64SOFT *value3); AL_API void AL_APIENTRY alGetSourcei64vSOFT(ALuint source, ALenum param, ALint64SOFT *values); #endif diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 5324242a..f10bdaf5 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1358,7 +1358,7 @@ AL_API void AL_APIENTRY alGetSourceiv(ALuint source, ALenum param, ALint *values } -AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64SOFT *values) +AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64SOFT *value) { ALCcontext *Context; ALsource *Source; @@ -1371,7 +1371,7 @@ AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64S { if((Source=LookupSource(Context, source)) == NULL) al_throwerr(Context, AL_INVALID_NAME); - CHECK_VALUE(Context, values); + CHECK_VALUE(Context, value); switch(param) { case AL_MAX_DISTANCE: @@ -1395,7 +1395,7 @@ AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64S case AL_DOPPLER_FACTOR: case AL_DIRECT_CHANNELS_SOFT: case AL_DISTANCE_MODEL: - if((err=GetSourcei64v(Source, Context, param, values)) != AL_NO_ERROR) + if((err=GetSourcei64v(Source, Context, param, value)) != AL_NO_ERROR) al_throwerr(Context, err); break; |