diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-10-07 07:42:04 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-10-07 07:42:04 +0000 |
commit | f891b6415f4608596b23d1e0ed01f4c62b9909a4 (patch) | |
tree | f50870c198c5e16117695bccc23b26c9471489ba /pjmedia/include | |
parent | 65a90427bd7708669faf1bade5d7987eab814139 (diff) |
Ticket #395: Added configuration to control maximum PortAudio sound buffer latency, and change default sound backend back to WMME
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1486 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/config.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h index 0cabe3b4..f438f185 100644 --- a/pjmedia/include/pjmedia/config.h +++ b/pjmedia/include/pjmedia/config.h @@ -75,10 +75,18 @@ /** * Specify whether we prefer to use DirectSound on Windows. * - * Say yes! + * Default: 0 */ #ifndef PJMEDIA_PREFER_DIRECT_SOUND -# define PJMEDIA_PREFER_DIRECT_SOUND 1 +# define PJMEDIA_PREFER_DIRECT_SOUND 0 +#endif + + +/** + * Specify PortAudio maximum buffering latency, in milliseconds. + */ +#ifndef PJMEDIA_PASOUND_MAX_LATENCY +# define PJMEDIA_PASOUND_MAX_LATENCY 60 #endif |