diff options
author | Chris Robinson <[email protected]> | 2016-06-03 05:46:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-06-03 05:46:29 -0700 |
commit | ce676ab70a6b4c46869e4fa13e14b4da7ba6c008 (patch) | |
tree | cf310df827b4babe1f012ee03c9a229917f76982 /OpenAL32 | |
parent | b7da69510c85b776ba119d69c4c74aa38d412594 (diff) |
Remove some unnecessary volatile keywords
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 4 | ||||
-rw-r--r-- | OpenAL32/Include/alSource.h | 62 |
2 files changed, 33 insertions, 33 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 8d2fc3d7..034ac217 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -86,8 +86,8 @@ struct ALeffectslotProps { typedef struct ALeffectslot { - volatile ALfloat Gain; - volatile ALboolean AuxSendAuto; + ALfloat Gain; + ALboolean AuxSendAuto; struct { ALenum Type; diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index a3e84e0e..49bda7e4 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -101,40 +101,40 @@ struct ALsourceProps { typedef struct ALsource { /** Source properties. */ - volatile ALfloat Pitch; - volatile ALfloat Gain; - volatile ALfloat OuterGain; - volatile ALfloat MinGain; - volatile ALfloat MaxGain; - volatile ALfloat InnerAngle; - volatile ALfloat OuterAngle; - volatile ALfloat RefDistance; - volatile ALfloat MaxDistance; - volatile ALfloat RollOffFactor; - volatile ALfloat Position[3]; - volatile ALfloat Velocity[3]; - volatile ALfloat Direction[3]; - volatile ALfloat Orientation[2][3]; - volatile ALboolean HeadRelative; - volatile ALboolean Looping; - volatile enum DistanceModel DistanceModel; - volatile ALboolean DirectChannels; - - volatile ALboolean DryGainHFAuto; - volatile ALboolean WetGainAuto; - volatile ALboolean WetGainHFAuto; - volatile ALfloat OuterGainHF; - - volatile ALfloat AirAbsorptionFactor; - volatile ALfloat RoomRolloffFactor; - volatile ALfloat DopplerFactor; + ALfloat Pitch; + ALfloat Gain; + ALfloat OuterGain; + ALfloat MinGain; + ALfloat MaxGain; + ALfloat InnerAngle; + ALfloat OuterAngle; + ALfloat RefDistance; + ALfloat MaxDistance; + ALfloat RollOffFactor; + ALfloat Position[3]; + ALfloat Velocity[3]; + ALfloat Direction[3]; + ALfloat Orientation[2][3]; + ALboolean HeadRelative; + ALboolean Looping; + enum DistanceModel DistanceModel; + ALboolean DirectChannels; + + ALboolean DryGainHFAuto; + ALboolean WetGainAuto; + ALboolean WetGainHFAuto; + ALfloat OuterGainHF; + + ALfloat AirAbsorptionFactor; + ALfloat RoomRolloffFactor; + ALfloat DopplerFactor; /* NOTE: Stereo pan angles are specified in radians, counter-clockwise * rather than clockwise. */ - volatile ALfloat StereoPan[2]; + ALfloat StereoPan[2]; - volatile ALfloat Radius; + ALfloat Radius; /** Direct filter and auxiliary send info. */ struct { @@ -161,10 +161,10 @@ typedef struct ALsource { ALenum OffsetType; /** Source type (static, streaming, or undetermined) */ - volatile ALint SourceType; + ALint SourceType; /** Source state (initial, playing, paused, or stopped) */ - volatile ALenum state; + ALenum state; ALenum new_state; /** |