From 3303d0b2d0f6d71f88c17c44b8e13b465c71d675 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 6 Oct 2007 17:52:30 +0000 Subject: [PATCH] Ticket #394: Reduce PJMEDIA_SOUND_BUFFER_COUNT default setting from 16 to 6 to reduce audio latency git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1483 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/include/pjmedia/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h index a0c0ee5d2..0cabe3b45 100644 --- a/pjmedia/include/pjmedia/config.h +++ b/pjmedia/include/pjmedia/config.h @@ -84,7 +84,7 @@ /** * Specify number of sound buffers. Larger number is better for sound - * stability and to accomodate sound devices that are unable to send frames + * stability and to accommodate sound devices that are unable to send frames * in timely manner, however it would probably cause more audio delay (and * definitely will take more memory). One individual buffer is normally 10ms * or 20 ms long, depending on ptime settings (samples_per_frame value). @@ -92,10 +92,10 @@ * The setting here currently is used by the conference bridge, the splitter * combiner port, and dsound.c. * - * Default: 16 + * Default: 6 */ #ifndef PJMEDIA_SOUND_BUFFER_COUNT -# define PJMEDIA_SOUND_BUFFER_COUNT 16 +# define PJMEDIA_SOUND_BUFFER_COUNT 6 #endif