Ignore:
Timestamp:
Jan 19, 2008 9:39:52 AM (15 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/src/pjmedia/conference.c

    r1692 r1715  
    5656 
    5757#define THIS_FILE       "conference.c" 
    58 #define RX_BUF_COUNT    PJMEDIA_SOUND_BUFFER_COUNT 
     58 
     59/* When delay buffer is used, we only need 1 frame buffering */ 
     60#if defined(PJMEDIA_SOUND_USE_DELAYBUF) && PJMEDIA_SOUND_USE_DELAYBUF!=0 
     61#   define RX_BUF_COUNT     1 
     62#else 
     63#   define RX_BUF_COUNT     PJMEDIA_SOUND_BUFFER_COUNT 
     64#endif 
    5965 
    6066#define BYTES_PER_SAMPLE    2 
Note: See TracChangeset for help on using the changeset viewer.