aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-03-08 03:38:28 -0800
committerChris Robinson <[email protected]>2017-03-08 04:59:22 -0800
commit5ffb0842ac5022b1e5d34973ed6f512b5f0d7434 (patch)
treea5d939991d249358761d64587471b9856c419445 /OpenAL32/Include
parentb1b3a369ef4ffdfa78abbb14e7e3b6d842cd4104 (diff)
Remove unnecessary atomic members
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h8
-rw-r--r--OpenAL32/Include/alListener.h34
-rw-r--r--OpenAL32/Include/alSource.h82
3 files changed, 62 insertions, 62 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index 40ff1393..3c24f80c 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -75,13 +75,13 @@ static const struct ALeffectStateFactoryVtable T##_ALeffectStateFactory_vtable =
struct ALeffectslotProps {
- ATOMIC(ALfloat) Gain;
- ATOMIC(ALboolean) AuxSendAuto;
+ ALfloat Gain;
+ ALboolean AuxSendAuto;
- ATOMIC(ALenum) Type;
+ ALenum Type;
ALeffectProps Props;
- ATOMIC(ALeffectState*) State;
+ ALeffectState *State;
ATOMIC(struct ALeffectslotProps*) next;
};
diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h
index b89a00e7..9a7f9d49 100644
--- a/OpenAL32/Include/alListener.h
+++ b/OpenAL32/Include/alListener.h
@@ -9,29 +9,29 @@ extern "C" {
#endif
struct ALlistenerProps {
- ATOMIC(ALfloat) Position[3];
- ATOMIC(ALfloat) Velocity[3];
- ATOMIC(ALfloat) Forward[3];
- ATOMIC(ALfloat) Up[3];
- ATOMIC(ALfloat) Gain;
- ATOMIC(ALfloat) MetersPerUnit;
+ ALfloat Position[3];
+ ALfloat Velocity[3];
+ ALfloat Forward[3];
+ ALfloat Up[3];
+ ALfloat Gain;
+ ALfloat MetersPerUnit;
- ATOMIC(ALfloat) DopplerFactor;
- ATOMIC(ALfloat) DopplerVelocity;
- ATOMIC(ALfloat) SpeedOfSound;
- ATOMIC(ALboolean) SourceDistanceModel;
- ATOMIC(enum DistanceModel) DistanceModel;
+ ALfloat DopplerFactor;
+ ALfloat DopplerVelocity;
+ ALfloat SpeedOfSound;
+ ALboolean SourceDistanceModel;
+ enum DistanceModel DistanceModel;
ATOMIC(struct ALlistenerProps*) next;
};
typedef struct ALlistener {
- volatile ALfloat Position[3];
- volatile ALfloat Velocity[3];
- volatile ALfloat Forward[3];
- volatile ALfloat Up[3];
- volatile ALfloat Gain;
- volatile ALfloat MetersPerUnit;
+ ALfloat Position[3];
+ ALfloat Velocity[3];
+ ALfloat Forward[3];
+ ALfloat Up[3];
+ ALfloat Gain;
+ ALfloat MetersPerUnit;
/* Pointer to the most recent property values that are awaiting an update.
*/
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 2525f107..12b4587b 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -27,52 +27,52 @@ typedef struct ALbufferlistitem {
struct ALsourceProps {
ATOMIC(struct ALsourceProps*) next;
- ATOMIC(ALfloat) Pitch;
- ATOMIC(ALfloat) Gain;
- ATOMIC(ALfloat) OuterGain;
- ATOMIC(ALfloat) MinGain;
- ATOMIC(ALfloat) MaxGain;
- ATOMIC(ALfloat) InnerAngle;
- ATOMIC(ALfloat) OuterAngle;
- ATOMIC(ALfloat) RefDistance;
- ATOMIC(ALfloat) MaxDistance;
- ATOMIC(ALfloat) RollOffFactor;
- ATOMIC(ALfloat) Position[3];
- ATOMIC(ALfloat) Velocity[3];
- ATOMIC(ALfloat) Direction[3];
- ATOMIC(ALfloat) Orientation[2][3];
- ATOMIC(ALboolean) HeadRelative;
- ATOMIC(enum DistanceModel) DistanceModel;
- ATOMIC(ALboolean) DirectChannels;
-
- ATOMIC(ALboolean) DryGainHFAuto;
- ATOMIC(ALboolean) WetGainAuto;
- ATOMIC(ALboolean) WetGainHFAuto;
- ATOMIC(ALfloat) OuterGainHF;
-
- ATOMIC(ALfloat) AirAbsorptionFactor;
- ATOMIC(ALfloat) RoomRolloffFactor;
- ATOMIC(ALfloat) DopplerFactor;
-
- ATOMIC(ALfloat) StereoPan[2];
-
- ATOMIC(ALfloat) Radius;
+ 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;
+ enum DistanceModel DistanceModel;
+ ALboolean DirectChannels;
+
+ ALboolean DryGainHFAuto;
+ ALboolean WetGainAuto;
+ ALboolean WetGainHFAuto;
+ ALfloat OuterGainHF;
+
+ ALfloat AirAbsorptionFactor;
+ ALfloat RoomRolloffFactor;
+ ALfloat DopplerFactor;
+
+ ALfloat StereoPan[2];
+
+ ALfloat Radius;
/** Direct filter and auxiliary send info. */
struct {
- ATOMIC(ALfloat) Gain;
- ATOMIC(ALfloat) GainHF;
- ATOMIC(ALfloat) HFReference;
- ATOMIC(ALfloat) GainLF;
- ATOMIC(ALfloat) LFReference;
+ ALfloat Gain;
+ ALfloat GainHF;
+ ALfloat HFReference;
+ ALfloat GainLF;
+ ALfloat LFReference;
} Direct;
struct {
- ATOMIC(struct ALeffectslot*) Slot;
- ATOMIC(ALfloat) Gain;
- ATOMIC(ALfloat) GainHF;
- ATOMIC(ALfloat) HFReference;
- ATOMIC(ALfloat) GainLF;
- ATOMIC(ALfloat) LFReference;
+ struct ALeffectslot *Slot;
+ ALfloat Gain;
+ ALfloat GainHF;
+ ALfloat HFReference;
+ ALfloat GainLF;
+ ALfloat LFReference;
} Send[];
};