Ignore:
Timestamp:
Jun 12, 2008 12:48:59 PM (13 years ago)
Author:
nanang
Message:

Ticket #542: added new API and macro for sound device latency settings, also added new param for this in pjsua

File:
1 edited

Legend:

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

    r1971 r2007  
    8484 
    8585/** 
    86  * Specify PortAudio maximum buffering latency, in milliseconds. 
    87  */ 
    88 #ifndef PJMEDIA_PASOUND_MAX_LATENCY 
    89 #   define PJMEDIA_PASOUND_MAX_LATENCY      100 
     86 * Specify sound device latency default, in milisecond. 
     87 */ 
     88#ifndef PJMEDIA_SND_DEFAULT_REC_LATENCY 
     89#   define PJMEDIA_SND_DEFAULT_REC_LATENCY  10 
     90#endif 
     91 
     92#ifndef PJMEDIA_SND_DEFAULT_PLAY_LATENCY 
     93#   define PJMEDIA_SND_DEFAULT_PLAY_LATENCY 100 
    9094#endif 
    9195 
Note: See TracChangeset for help on using the changeset viewer.