Changeset 2977 for pjproject/trunk
- Timestamp:
- Oct 29, 2009 9:39:17 AM (15 years ago)
- Location:
- pjproject/trunk/pjmedia/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia-audiodev/config.h
r2833 r2977 45 45 /** 46 46 * This setting controls whether PortAudio support should be included. 47 * 48 * By default it is enabled except on Windows platforms (including 49 * Windows Mobile) and Symbian. 47 50 */ 48 51 #ifndef PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 49 # define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 1 52 # if (defined(PJ_WIN32) && PJ_WIN32!=0) || \ 53 (defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0) 54 # define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 55 # else 56 # define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 1 57 # endif 50 58 #endif 51 59 -
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.