aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/null.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/null.cpp')
-rw-r--r--alc/backends/null.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/null.cpp b/alc/backends/null.cpp
index 6e47f153..f78a23a0 100644
--- a/alc/backends/null.cpp
+++ b/alc/backends/null.cpp
@@ -72,8 +72,8 @@ int NullBackend::mixerProc()
int64_t done{0};
auto start = std::chrono::steady_clock::now();
- while(!mKillNow.load(std::memory_order_acquire) &&
- mDevice->Connected.load(std::memory_order_acquire))
+ while(!mKillNow.load(std::memory_order_acquire)
+ && mDevice->Connected.load(std::memory_order_acquire))
{
auto now = std::chrono::steady_clock::now();
@@ -86,7 +86,7 @@ int NullBackend::mixerProc()
}
while(avail-done >= mDevice->UpdateSize)
{
- aluMixData(mDevice, nullptr, mDevice->UpdateSize, 0u);
+ mDevice->renderSamples(nullptr, mDevice->UpdateSize, 0u);
done += mDevice->UpdateSize;
}