From 6ce9bf6c9441503bc7e7c3451f0954cbdfbeb6ab Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Fri, 12 Jun 2020 11:58:41 -0700 Subject: Move a couple related functions to the backend base --- alc/backends/sndio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/backends/sndio.cpp') diff --git a/alc/backends/sndio.cpp b/alc/backends/sndio.cpp index 8af83226..bad05acb 100644 --- a/alc/backends/sndio.cpp +++ b/alc/backends/sndio.cpp @@ -242,7 +242,7 @@ bool SndioPlayback::reset() return false; } - SetDefaultChannelOrder(mDevice); + setDefaultChannelOrder(); mDevice->UpdateSize = par.round; mDevice->BufferSize = par.bufsz + par.round; @@ -440,7 +440,7 @@ void SndioCapture::open(const ALCchar *name) mRing = RingBuffer::Create(mDevice->BufferSize, par.bps*par.rchan, false); - SetDefaultChannelOrder(mDevice); + setDefaultChannelOrder(); mDevice->DeviceName = name; } -- cgit v1.2.3