aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alState.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-04-19 22:50:11 -0700
committerChris Robinson <[email protected]>2012-04-19 22:50:11 -0700
commitb023dbe7b87921a5b4eab0ed759e7b3dd04acf57 (patch)
tree1a222fbd4e317cfdd5811b6b2257b2c02abab39b /OpenAL32/alState.c
parent8092cd92058f3fa1ad42f8c46049c0bc39ae82ab (diff)
Remove hungarian notation from the device and context structs
Diffstat (limited to 'OpenAL32/alState.c')
-rw-r--r--OpenAL32/alState.c14
1 files changed, 7 insertions, 7 deletions
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