aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/alsa.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-03-01 21:23:13 -0800
committerChris Robinson <[email protected]>2018-03-01 21:23:13 -0800
commit6f62fed65c4dcdf999a612e258cca59a22355f3c (patch)
treebd8d8f9e84beb94761ae35da41c3e66465af62a8 /Alc/backends/alsa.c
parentcba37819d1e68ff6473d0e10b42ac9465943d5cb (diff)
Add an option to limit the write size of the ringbuffer
Diffstat (limited to 'Alc/backends/alsa.c')
-rw-r--r--Alc/backends/alsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/backends/alsa.c b/Alc/backends/alsa.c
index c75749de..d0f0e24e 100644
--- a/Alc/backends/alsa.c
+++ b/Alc/backends/alsa.c
@@ -1124,7 +1124,8 @@ static ALCenum ALCcaptureAlsa_open(ALCcaptureAlsa *self, const ALCchar *name)
{
self->ring = ll_ringbuffer_create(
device->UpdateSize*device->NumUpdates + 1,
- FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->AmbiOrder)
+ FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->AmbiOrder),
+ false
);
if(!self->ring)
{