aboutsummaryrefslogtreecommitdiffstats
path: root/al/listener.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-08 20:27:40 -0800
committerChris Robinson <[email protected]>2022-02-08 20:27:40 -0800
commitde87cc98d5eef40eeb565b781ac90c1c6f55b42e (patch)
tree7fb857cf86befaa3f69f8d7b5c207bbd9840576e /al/listener.cpp
parent46a836fa1417dd93d944fa7b4865dc135947d26c (diff)
Apply updates for EAX context properties
Diffstat (limited to 'al/listener.cpp')
-rw-r--r--al/listener.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/al/listener.cpp b/al/listener.cpp
index cae4ba68..11b7162a 100644
--- a/al/listener.cpp
+++ b/al/listener.cpp
@@ -481,23 +481,3 @@ void UpdateListenerProps(ALCcontext *context)
AtomicReplaceHead(context->mFreeListenerProps, props);
}
}
-
-#ifdef ALSOFT_EAX
-// `alListenerf(AL_METERS_PER_UNIT, value)`
-void eax_set_al_listener_meters_per_unit(
- ALCcontext& al_context,
- ALfloat meters_per_unit)
-{
- auto& listener = al_context.mListener;
-
- if (meters_per_unit < AL_MIN_METERS_PER_UNIT ||
- meters_per_unit > AL_MAX_METERS_PER_UNIT)
- {
- SETERR_RETURN(&al_context, AL_INVALID_VALUE,, "Listener meters per unit out of range");
- }
-
- listener.mMetersPerUnit = meters_per_unit;
-
- UpdateProps(listener, &al_context);
-}
-#endif // ALSOFT_EAX