Ignore:
Timestamp:
Jan 19, 2008 9:39:52 AM (13 years ago)
Author:
bennylp
Message:

More work on ticket #438: Workaround for frame bursts from audio devices. See the ticket for more information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/config.h

    r1664 r1715  
    9898 * for the sound device, and will try to limit the delay caused 
    9999 * 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. 
    100103 */ 
    101104#ifndef PJMEDIA_SOUND_USE_DELAYBUF 
    102105#   define PJMEDIA_SOUND_USE_DELAYBUF       0 
    103 #endif 
    104  
    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 thus  
    110  * there's no need to have this buffer. 
    111  */ 
    112 #if defined(PJMEDIA_SOUND_USE_DELAYBUF) && PJMEDIA_SOUND_USE_DELAYBUF!=0 
    113 #   define PJMEDIA_SOUND_BUFFER_COUNT       1 
    114106#endif 
    115107 
     
    125117 * combiner port, and dsound.c. 
    126118 * 
    127  * Note that when PJMEDIA_SOUND_USE_DELAYBUF is enabled, it's best to 
    128  * set PJMEDIA_SOUND_BUFFER_COUNT to 1 to reduce voice latency. 
    129  *  
    130119 * Default: 6 
    131120 */ 
Note: See TracChangeset for help on using the changeset viewer.