aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
Diffstat (limited to 'al')
-rw-r--r--al/source.cpp2
-rw-r--r--al/state.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/al/source.cpp b/al/source.cpp
index 39b635a4..35d3bb84 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -2828,7 +2828,7 @@ START_API_FUNC
alloc_count);
const size_t newcount{context->mVoices->size() + alloc_count};
- AllocateVoices(context.get(), newcount);
+ context->allocVoices(newcount);
}
context->mVoiceCount.fetch_add(need_voices, std::memory_order_relaxed);
diff --git a/al/state.cpp b/al/state.cpp
index b1885f5c..903ab614 100644
--- a/al/state.cpp
+++ b/al/state.cpp
@@ -775,7 +775,7 @@ START_API_FUNC
ContextRef context{GetContextRef()};
if(UNLIKELY(!context)) return;
- ALCcontext_DeferUpdates(context.get());
+ context->deferUpdates();
}
END_API_FUNC
@@ -785,7 +785,7 @@ START_API_FUNC
ContextRef context{GetContextRef()};
if(UNLIKELY(!context)) return;
- ALCcontext_ProcessUpdates(context.get());
+ context->processUpdates();
}
END_API_FUNC