aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index c87eaa3d..4a5830a6 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -105,9 +105,10 @@ typedef struct ALsource {
ALuint SampleSize;
/** Direct filter and auxiliary send info. */
- ALfloat DirectGain;
- ALfloat DirectGainHF;
-
+ struct {
+ ALfloat Gain;
+ ALfloat GainHF;
+ } Direct;
struct {
struct ALeffectslot *Slot;
ALfloat Gain;