From 6f62fed65c4dcdf999a612e258cca59a22355f3c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 1 Mar 2018 21:23:13 -0800 Subject: Add an option to limit the write size of the ringbuffer --- Alc/backends/winmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/backends/winmm.c') diff --git a/Alc/backends/winmm.c b/Alc/backends/winmm.c index d6ecd7a9..787ba8e4 100644 --- a/Alc/backends/winmm.c +++ b/Alc/backends/winmm.c @@ -626,7 +626,7 @@ static ALCenum ALCwinmmCapture_open(ALCwinmmCapture *self, const ALCchar *name) if(CapturedDataSize < (self->Format.nSamplesPerSec / 10)) CapturedDataSize = self->Format.nSamplesPerSec / 10; - self->Ring = ll_ringbuffer_create(CapturedDataSize+1, self->Format.nBlockAlign); + self->Ring = ll_ringbuffer_create(CapturedDataSize+1, self->Format.nBlockAlign, false); if(!self->Ring) goto failure; InitRef(&self->WaveBuffersCommitted, 0); -- cgit v1.2.3