From e6e2f509f871061ec917951fb77021856a9a0263 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 10 Jan 2020 07:56:43 -0800 Subject: Make CreateRingBuffer a static RingBuffer method --- alc/backends/wasapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/backends/wasapi.cpp') 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)) -- cgit v1.2.3