aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-03-16 02:46:19 -0700
committerChris Robinson <[email protected]>2023-03-16 02:46:19 -0700
commitef5373611fb0411be0e29c463f0e525481011eb0 (patch)
tree5d5e49a0bebe207853803a2406ac815326e0c4b1 /al/source.cpp
parenta4b1986556f5c21f77b58b619312fcb7d5435e97 (diff)
Commit deferred EAX properties in alcProcessContext
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/al/source.cpp b/al/source.cpp
index 4993a83c..17a3a0ae 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -3958,15 +3958,6 @@ SourceSubList::~SourceSubList()
#ifdef ALSOFT_EAX
-void EaxUpdateSourceVoice(ALsource *source, ALCcontext *context)
-{
- if(Voice *voice{GetSourceVoice(source, context)})
- {
- if(std::exchange(source->mPropsDirty, false))
- UpdateSourceProps(source, voice, context);
- }
-}
-
constexpr const ALsource::EaxFxSlotIds ALsource::eax4_fx_slot_ids;
constexpr const ALsource::EaxFxSlotIds ALsource::eax5_fx_slot_ids;
@@ -3988,12 +3979,6 @@ void ALsource::eax_dispatch(const EaxCall& call)
call.is_get() ? eax_get(call) : eax_set(call);
}
-void ALsource::eax_commit_and_update()
-{
- eax_commit();
- EaxUpdateSourceVoice(this, eax_al_context_);
-}
-
ALsource* ALsource::eax_lookup_source(ALCcontext& al_context, ALuint source_id) noexcept
{
return LookupSource(&al_context, source_id);