summaryrefslogtreecommitdiff
path: root/pjmedia/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-09-28 13:12:15 +0000
committerBenny Prijono <bennylp@teluu.com>2007-09-28 13:12:15 +0000
commit59ec12f02f622b889aa42d725db79592b4040fd2 (patch)
tree7ad9519001cabc371a78c99c79c87ea8d7bd3db9 /pjmedia/include
parentb584e87dd4000183820bf6a4c90f3061d524fe8b (diff)
Ticket #384: Prefer to use Direct Sound as the sound device backend on Windows
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1456 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r--pjmedia/include/pjmedia/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h
index 0b7f542a..a0c0ee5d 100644
--- a/pjmedia/include/pjmedia/config.h
+++ b/pjmedia/include/pjmedia/config.h
@@ -73,6 +73,16 @@
/**
+ * Specify whether we prefer to use DirectSound on Windows.
+ *
+ * Say yes!
+ */
+#ifndef PJMEDIA_PREFER_DIRECT_SOUND
+# define PJMEDIA_PREFER_DIRECT_SOUND 1
+#endif
+
+
+/**
* 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 probably cause more audio delay (and