aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/sndio.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-06-12 11:58:41 -0700
committerChris Robinson <[email protected]>2020-06-12 12:53:47 -0700
commit6ce9bf6c9441503bc7e7c3451f0954cbdfbeb6ab (patch)
tree51731fdc32751dd82dfcfc9fd23768e075e54e92 /alc/backends/sndio.cpp
parent26eccd159f0256d92ffdb8bdc9dee0bf3e73be57 (diff)
Move a couple related functions to the backend base
Diffstat (limited to 'alc/backends/sndio.cpp')
-rw-r--r--alc/backends/sndio.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}