changeset 291:701c3d22e0f9

Increase addbuf size.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 11 Oct 2012 16:00:46 +0300
parents 61cab36b6d32
children 43312a36811f
files jssmix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jssmix.c	Thu Oct 11 14:03:25 2012 +0300
+++ b/jssmix.c	Thu Oct 11 16:00:46 2012 +0300
@@ -148,7 +148,7 @@
     mixer->jvmPostProcess = jvmMixRoutines[mixerIdx].jvmPostProcess;
     
     // Allocate addBuffer
-    mixer->addBufSize = outChannels * outFreq;
+    mixer->addBufSize = outChannels * outFreq * 2;
     mixer->addBuffer = dmMalloc(mixer->addBufSize * sizeof(JMIXER_ADDBUF_TYPE));
     if (mixer->addBuffer == NULL)
     {