aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-13 17:22:41 -0800
committerChris Robinson <[email protected]>2022-02-13 17:22:41 -0800
commit66f6cf121e5a65f5ec0c93872b60e123fa2ad0f3 (patch)
tree4447ce8435f93983f5a3217e022d768d868660be /alc
parent1bebc011778d6bd3cdf4fcbd2704c8cf65446602 (diff)
Commit source EAX properties when not deferring
And make sure they get committed when resuming processing.
Diffstat (limited to 'alc')
-rw-r--r--alc/context.cpp7
-rw-r--r--alc/context.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/alc/context.cpp b/alc/context.cpp
index 36818537..07dc76bf 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -549,13 +549,6 @@ void ALCcontext::eax_update_filters()
}
}
-void ALCcontext::eax_commit_sources()
-{
- std::unique_lock<std::mutex> source_lock{mSourceLock};
- for (auto& source : SourceListEnumerator{mSourceList})
- source.eax_commit();
-}
-
void ALCcontext::eax_commit_and_update_sources()
{
std::unique_lock<std::mutex> source_lock{mSourceLock};
diff --git a/alc/context.h b/alc/context.h
index 613c6c12..bd966704 100644
--- a/alc/context.h
+++ b/alc/context.h
@@ -243,7 +243,6 @@ public:
void eax_update_filters();
- void eax_commit_sources();
void eax_commit_and_update_sources();