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/wasapi.cpp | |
parent | b31886ad73937be071409388cb0b8515754a09f1 (diff) |
Make CreateRingBuffer a static RingBuffer method
Diffstat (limited to 'alc/backends/wasapi.cpp')
-rw-r--r-- | alc/backends/wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp index 6ef9adcd..f97c8636 100644 --- a/alc/backends/wasapi.cpp +++ b/alc/backends/wasapi.cpp @@ -1627,7 +1627,7 @@ HRESULT WasapiCapture::resetProxy() mDevice->UpdateSize = RefTime2Samples(min_per, mDevice->Frequency); mDevice->BufferSize = buffer_len; - mRing = CreateRingBuffer(buffer_len, mDevice->frameSizeFromFmt(), false); + mRing = RingBuffer::Create(buffer_len, mDevice->frameSizeFromFmt(), false); hr = mClient->SetEventHandle(mNotifyEvent); if(FAILED(hr)) |