aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/source.h')
-rw-r--r--al/source.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/al/source.h b/al/source.h
index 360b4365..7c0e4a15 100644
--- a/al/source.h
+++ b/al/source.h
@@ -123,6 +123,11 @@ struct ALsource {
float RefDistance{1.0f};
float MaxDistance{std::numeric_limits<float>::max()};
float RolloffFactor{1.0f};
+#ifdef ALSOFT_EAX
+ // For EAXSOURCE_ROLLOFFFACTOR, which is distinct from and added to
+ // AL_ROLLOFF_FACTOR
+ float RolloffFactor2{0.0f};
+#endif
std::array<float,3> Position{{0.0f, 0.0f, 0.0f}};
std::array<float,3> Velocity{{0.0f, 0.0f, 0.0f}};
std::array<float,3> Direction{{0.0f, 0.0f, 0.0f}};