Changeset 3067
- Timestamp:
- Jan 21, 2010 8:39:14 AM (15 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/config.h
r2977 r3067 214 214 #ifndef PJMEDIA_WSOLA_PLC_NO_FADING 215 215 # define PJMEDIA_WSOLA_PLC_NO_FADING 0 216 #endif 217 218 219 /** 220 * Limit the number of calls by stream to the PLC to generate synthetic 221 * frames to this duration. If packets are still lost after this maximum 222 * duration, silence will be generated by the stream instead. Since the 223 * PLC normally should have its own limit on the maximum duration of 224 * synthetic frames to be generated (for PJMEDIA's PLC, the limit is 225 * PJMEDIA_WSOLA_MAX_EXPAND_MSEC), we can set this value to a large number 226 * to give additional flexibility should the PLC wants to do something 227 * clever with the lost frames. 228 * 229 * Default: 240 ms 230 */ 231 #ifndef PJMEDIA_MAX_PLC_DURATION_MSEC 232 # define PJMEDIA_MAX_PLC_DURATION_MSEC 240 216 233 #endif 217 234 -
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r3065 r3067 49 49 * just as precaution 50 50 */ 51 #define MAX_PLC_MSEC 24051 #define MAX_PLC_MSEC PJMEDIA_MAX_PLC_DURATION_MSEC 52 52 53 53 /**
Note: See TracChangeset
for help on using the changeset viewer.