diff options
author | Chris Robinson <[email protected]> | 2020-01-10 07:56:43 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-01-10 07:56:43 -0800 |
commit | e6e2f509f871061ec917951fb77021856a9a0263 (patch) | |
tree | 5423d2f46e0fee6021879e17e91569f12ac3d44d /alc/backends/sndio.cpp | |
parent | b31886ad73937be071409388cb0b8515754a09f1 (diff) |
Make CreateRingBuffer a static RingBuffer method
Diffstat (limited to 'alc/backends/sndio.cpp')
-rw-r--r-- | alc/backends/sndio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/sndio.cpp b/alc/backends/sndio.cpp index 4d851391..0ca7062d 100644 --- a/alc/backends/sndio.cpp +++ b/alc/backends/sndio.cpp @@ -393,7 +393,7 @@ void SndioCapture::open(const ALCchar *name) DevFmtTypeString(mDevice->FmtType), DevFmtChannelsString(mDevice->FmtChans), mDevice->Frequency, par.sig?'s':'u', par.bits, par.rchan, par.rate}; - mRing = CreateRingBuffer(mDevice->BufferSize, par.bps*par.rchan, false); + mRing = RingBuffer::Create(mDevice->BufferSize, par.bps*par.rchan, false); SetDefaultChannelOrder(mDevice); |