aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/jack.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-01-10 07:56:43 -0800
committerChris Robinson <[email protected]>2020-01-10 07:56:43 -0800
commite6e2f509f871061ec917951fb77021856a9a0263 (patch)
tree5423d2f46e0fee6021879e17e91569f12ac3d44d /alc/backends/jack.cpp
parentb31886ad73937be071409388cb0b8515754a09f1 (diff)
Make CreateRingBuffer a static RingBuffer method
Diffstat (limited to 'alc/backends/jack.cpp')
-rw-r--r--alc/backends/jack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/backends/jack.cpp b/alc/backends/jack.cpp
index 2be52e35..4d28731c 100644
--- a/alc/backends/jack.cpp
+++ b/alc/backends/jack.cpp
@@ -211,7 +211,7 @@ int JackPlayback::bufferSizeNotify(jack_nframes_t numframes) noexcept
TRACE("%u / %u buffer\n", mDevice->UpdateSize, mDevice->BufferSize);
mRing = nullptr;
- mRing = CreateRingBuffer(bufsize, mDevice->frameSizeFromFmt(), true);
+ mRing = RingBuffer::Create(bufsize, mDevice->frameSizeFromFmt(), true);
return 0;
}
@@ -404,7 +404,7 @@ bool JackPlayback::reset()
}
mRing = nullptr;
- mRing = CreateRingBuffer(bufsize, mDevice->frameSizeFromFmt(), true);
+ mRing = RingBuffer::Create(bufsize, mDevice->frameSizeFromFmt(), true);
SetDefaultChannelOrder(mDevice);