From c4af40e47561839e753c857702c8809cebbecd0f Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Tue, 23 Sep 2008 22:50:25 +0000 Subject: [PATCH] accommodate more audio when doing PLC in JitterBuffer patch by Rui Jin Zheng rjzheng at boronetworks dot com git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1097 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmPlayoutBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AmPlayoutBuffer.cpp b/core/AmPlayoutBuffer.cpp index 5c1a8055..4ec37da0 100644 --- a/core/AmPlayoutBuffer.cpp +++ b/core/AmPlayoutBuffer.cpp @@ -523,7 +523,7 @@ void AmJbPlayout::direct_write_buffer(unsigned int ts, ShortSample* buf, unsigne void AmJbPlayout::prepare_buffer(unsigned int audio_buffer_ts, unsigned int ms) { - ShortSample buf[AUDIO_BUFFER_SIZE]; + ShortSample buf[AUDIO_BUFFER_SIZE * 10]; unsigned int ts; unsigned int nb_samples; /**