diff options
author | Chris Robinson <[email protected]> | 2020-08-07 06:17:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-08-07 06:22:39 -0700 |
commit | e8b3e82f96d28d725bc44f5a99d0b2646394019e (patch) | |
tree | 973ba706cce984ce19f274daf417c75727f1c407 /alc/backends/null.cpp | |
parent | 84354c792e17ff5df5edc8d7612dd5a2e4ae4f28 (diff) |
Change a couple functions into member functions
Diffstat (limited to 'alc/backends/null.cpp')
-rw-r--r-- | alc/backends/null.cpp | 6 |
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; } |