diff options
author | Chris Robinson <[email protected]> | 2020-06-12 11:58:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-06-12 12:53:47 -0700 |
commit | 6ce9bf6c9441503bc7e7c3451f0954cbdfbeb6ab (patch) | |
tree | 51731fdc32751dd82dfcfc9fd23768e075e54e92 /alc/backends/sndio.cpp | |
parent | 26eccd159f0256d92ffdb8bdc9dee0bf3e73be57 (diff) |
Move a couple related functions to the backend base
Diffstat (limited to 'alc/backends/sndio.cpp')
-rw-r--r-- | alc/backends/sndio.cpp | 4 |
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; } |