Changeset 2850 for pjproject/trunk/pjmedia/include/pjmedia/wsola.h
- Timestamp:
- Aug 1, 2009 9:20:59 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/wsola.h
r2394 r2850 70 70 * non-contiguous buffer. 71 71 */ 72 PJMEDIA_WSOLA_NO_DISCARD = 4 72 PJMEDIA_WSOLA_NO_DISCARD = 4, 73 74 /** 75 * Disable fade-in and fade-out feature in the transition between 76 * actual and synthetic frames in WSOLA. With fade feature enabled, 77 * WSOLA will only generate a limited number of synthetic frames 78 * (configurable with #pjmedia_wsola_set_max_expand()), fading out 79 * the volume on every more samples it generates, and when it reaches 80 * the limit it will only generate silence. 81 */ 82 PJMEDIA_WSOLA_NO_FADING = 8 73 83 }; 74 84 … … 94 104 unsigned options, 95 105 pjmedia_wsola **p_wsola); 106 107 108 /** 109 * Specify maximum number of continuous synthetic frames that can be 110 * generated by WSOLA, in milliseconds. This option will only take 111 * effect if fading is not disabled via the option when the WSOLA 112 * session was created. Default value is PJMEDIA_WSOLA_MAX_EXPAND_MSEC 113 * (see also the documentation of PJMEDIA_WSOLA_MAX_EXPAND_MSEC for 114 * more information). 115 * 116 * @param wsola The WSOLA session 117 * @param msec The duration. 118 * 119 * @return PJ_SUCCESS normally. 120 */ 121 PJ_DECL(pj_status_t) pjmedia_wsola_set_max_expand(pjmedia_wsola *wsola, 122 unsigned msec); 96 123 97 124
Note: See TracChangeset
for help on using the changeset viewer.