aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-05-13 20:21:20 -0700
committerChris Robinson <[email protected]>2016-05-13 20:21:20 -0700
commitf751f5e25e2a6451dc68ecf091ea5a6d57513679 (patch)
treec1257f43cb6af64466953ae7054a843bbbe8a285 /OpenAL32/Include
parent93a94d177c4bb0b9c8feb85420a388d32df4cc8f (diff)
Store the remaining context properties with the listener properties
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alListener.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h
index 75a3fb46..dee66720 100644
--- a/OpenAL32/Include/alListener.h
+++ b/OpenAL32/Include/alListener.h
@@ -20,6 +20,9 @@ struct ALlistenerProps {
ATOMIC(ALfloat) DopplerVelocity;
ATOMIC(ALfloat) SpeedOfSound;
+ ATOMIC(ALboolean) SourceDistanceModel;
+ ATOMIC(enum DistanceModel) DistanceModel;
+
ATOMIC(struct ALlistenerProps*) next;
};
@@ -49,6 +52,9 @@ typedef struct ALlistener {
ALfloat DopplerFactor;
ALfloat SpeedOfSound;
+
+ ALboolean SourceDistanceModel;
+ enum DistanceModel DistanceModel;
} Params;
} ALlistener;