summaryrefslogtreecommitdiff
path: root/pjmedia/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-01-23 06:12:28 +0000
committerBenny Prijono <bennylp@teluu.com>2007-01-23 06:12:28 +0000
commit841130c3dd87c12c41fa3b34aef25c1f7a379e4a (patch)
tree3aa17d81828d32c4404905d18fe496d2dc8535c3 /pjmedia/include
parent6e7ee05ee9b9d7cf8c0cb4e0e09090bc88ca13f0 (diff)
Fixed ticket #74: unstable/stutter sound on Windows Mobile (thanks ChenHuang)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@899 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r--pjmedia/include/pjmedia/config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h
index 5ecc04bf..fcd2b20a 100644
--- a/pjmedia/include/pjmedia/config.h
+++ b/pjmedia/include/pjmedia/config.h
@@ -66,6 +66,19 @@
/**
+ * Specify number of sound buffers. Larger number is better for sound
+ * stability and to accomodate sound devices that are unable to send frames
+ * in timely manner, however it would take more memory. One individual
+ * buffer is about 10 or 20 ms long.
+ *
+ * Default: 32
+ */
+#ifndef PJMEDIA_SOUND_BUFFER_COUNT
+# define PJMEDIA_SOUND_BUFFER_COUNT 32
+#endif
+
+
+/**
* Specify which A-law/U-law conversion algorithm to use.
* By default the conversion algorithm uses A-law/U-law table which gives
* the best performance, at the expense of 33 KBytes of static data.