Changeset 2977 for pjproject/trunk/pjmedia/include/pjmedia/config.h
- Timestamp:
- Oct 29, 2009 9:39:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/config.h
r2850 r2977 104 104 105 105 /** 106 * Specify default sound device latency, in milisecond. 106 * Specify default sound device latency, in milisecond. 107 * 108 * Default is 160ms for Windows Mobile and 140ms for other platforms. 107 109 */ 108 110 #ifndef PJMEDIA_SND_DEFAULT_PLAY_LATENCY 109 # define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 100 111 # if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 112 # define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 160 113 # else 114 # define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 140 115 # endif 110 116 #endif 111 117 … … 221 227 * combiner port, and dsound.c. 222 228 * 223 * Default: 6229 * Default: (PJMEDIA_SND_DEFAULT_PLAY_LATENCY+20)/20 224 230 */ 225 231 #ifndef PJMEDIA_SOUND_BUFFER_COUNT 226 # define PJMEDIA_SOUND_BUFFER_COUNT 6232 # define PJMEDIA_SOUND_BUFFER_COUNT ((PJMEDIA_SND_DEFAULT_PLAY_LATENCY+20)/20) 227 233 #endif 228 234
Note: See TracChangeset
for help on using the changeset viewer.