Changeset 1715 for pjproject/trunk/pjmedia/include/pjmedia/config.h
- Timestamp:
- Jan 19, 2008 9:39:52 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/config.h
r1664 r1715 98 98 * for the sound device, and will try to limit the delay caused 99 99 * by uneven callback calls to this delay. 100 * 101 * When this setting is enabled, the PJMEDIA_SOUND_BUFFER_COUNT 102 * macro will specify the maximum size of the delay buffer. 100 103 */ 101 104 #ifndef PJMEDIA_SOUND_USE_DELAYBUF 102 105 # define PJMEDIA_SOUND_USE_DELAYBUF 0 103 #endif104 105 106 /**107 * Whenever delay buffer is enabled for sound device,108 * PJMEDIA_SOUND_BUFFER_COUNT is better to be set to 1,109 * because sound callbacks will be called evenly thus110 * there's no need to have this buffer.111 */112 #if defined(PJMEDIA_SOUND_USE_DELAYBUF) && PJMEDIA_SOUND_USE_DELAYBUF!=0113 # define PJMEDIA_SOUND_BUFFER_COUNT 1114 106 #endif 115 107 … … 125 117 * combiner port, and dsound.c. 126 118 * 127 * Note that when PJMEDIA_SOUND_USE_DELAYBUF is enabled, it's best to128 * set PJMEDIA_SOUND_BUFFER_COUNT to 1 to reduce voice latency.129 *130 119 * Default: 6 131 120 */
Note: See TracChangeset
for help on using the changeset viewer.