diff options
Diffstat (limited to 'Alc/backends/jack.cpp')
-rw-r--r-- | Alc/backends/jack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/jack.cpp b/Alc/backends/jack.cpp index 02e29973..ca537323 100644 --- a/Alc/backends/jack.cpp +++ b/Alc/backends/jack.cpp @@ -222,7 +222,7 @@ int ALCjackPlayback_bufferSizeNotify(jack_nframes_t numframes, void *arg) TRACE("%u update size x%u\n", device->UpdateSize, device->NumUpdates); self->mRing = nullptr; - self->mRing.reset(ll_ringbuffer_create(bufsize, device->frameSizeFromFmt(), true)); + self->mRing = CreateRingBuffer(bufsize, device->frameSizeFromFmt(), true); if(!self->mRing) { ERR("Failed to reallocate ringbuffer\n"); @@ -431,7 +431,7 @@ ALCboolean ALCjackPlayback_reset(ALCjackPlayback *self) } self->mRing = nullptr; - self->mRing.reset(ll_ringbuffer_create(bufsize, device->frameSizeFromFmt(), true)); + self->mRing = CreateRingBuffer(bufsize, device->frameSizeFromFmt(), true); if(!self->mRing) { ERR("Failed to allocate ringbuffer\n"); |