From b023dbe7b87921a5b4eab0ed759e7b3dd04acf57 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 19 Apr 2012 22:50:11 -0700 Subject: Remove hungarian notation from the device and context structs --- OpenAL32/alState.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenAL32/alState.c') diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c index d7393767..4ef8a91f 100644 --- a/OpenAL32/alState.c +++ b/OpenAL32/alState.c @@ -135,7 +135,7 @@ AL_API ALboolean AL_APIENTRY alGetBoolean(ALenum pname) break; case AL_SPEED_OF_SOUND: - if(Context->flSpeedOfSound != 0.0f) + if(Context->SpeedOfSound != 0.0f) value = AL_TRUE; break; @@ -176,7 +176,7 @@ AL_API ALdouble AL_APIENTRY alGetDouble(ALenum pname) break; case AL_SPEED_OF_SOUND: - value = (double)Context->flSpeedOfSound; + value = (double)Context->SpeedOfSound; break; case AL_DEFERRED_UPDATES_SOFT: @@ -216,7 +216,7 @@ AL_API ALfloat AL_APIENTRY alGetFloat(ALenum pname) break; case AL_SPEED_OF_SOUND: - value = Context->flSpeedOfSound; + value = Context->SpeedOfSound; break; case AL_DEFERRED_UPDATES_SOFT: @@ -256,7 +256,7 @@ AL_API ALint AL_APIENTRY alGetInteger(ALenum pname) break; case AL_SPEED_OF_SOUND: - value = (ALint)Context->flSpeedOfSound; + value = (ALint)Context->SpeedOfSound; break; case AL_DEFERRED_UPDATES_SOFT: @@ -526,16 +526,16 @@ AL_API ALvoid AL_APIENTRY alDopplerVelocity(ALfloat value) ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alSpeedOfSound(ALfloat flSpeedOfSound) +AL_API ALvoid AL_APIENTRY alSpeedOfSound(ALfloat value) { ALCcontext *Context; Context = GetContextRef(); if(!Context) return; - if(flSpeedOfSound > 0.0f && isfinite(flSpeedOfSound)) + if(value > 0.0f && isfinite(value)) { - Context->flSpeedOfSound = flSpeedOfSound; + Context->SpeedOfSound = value; Context->UpdateSources = AL_TRUE; } else -- cgit v1.2.3