summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-10-06 17:52:30 +0000
committerBenny Prijono <bennylp@teluu.com>2007-10-06 17:52:30 +0000
commitc609f7c7de23d65d99c172575b3b87a9f6f72898 (patch)
tree39e7ddb43c7efee1a92268ad5f12dcf10593bf80
parent19ec25d341a9d1dfceed588df7a578ea0fa464ba (diff)
Ticket #394: Reduce PJMEDIA_SOUND_BUFFER_COUNT default setting from 16 to 6 to reduce audio latency
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1483 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjmedia/include/pjmedia/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h
index a0c0ee5d..0cabe3b4 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