aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/portaudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/portaudio.cpp')
-rw-r--r--alc/backends/portaudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/portaudio.cpp b/alc/backends/portaudio.cpp
index 5de9ab58..0f5d6d6d 100644
--- a/alc/backends/portaudio.cpp
+++ b/alc/backends/portaudio.cpp
@@ -284,7 +284,7 @@ void PortCapture::open(const ALCchar *name)
samples = maxu(samples, 100 * mDevice->Frequency / 1000);
ALuint frame_size{mDevice->frameSizeFromFmt()};
- mRing = CreateRingBuffer(samples, frame_size, false);
+ mRing = RingBuffer::Create(samples, frame_size, false);
auto devidopt = ConfigValueInt(nullptr, "port", "capture");
if(devidopt && *devidopt >= 0) mParams.device = *devidopt;