summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-11 01:36:18 -0700
committerChris Robinson <[email protected]>2014-05-11 01:40:44 -0700
commit851a917b0347c3b47c9533f54c0a7ee1be3ffe45 (patch)
treef65e132998e82b4f3437a6e592a5880e3b0c5815 /OpenAL32/Include/alSource.h
parente78acce6523ac69aa04e17053cf5b72470eb90c1 (diff)
Use a struct to store the source's direct gain/gainhf properties
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;