Changeset 1831 for pjproject/trunk/pjmedia/src/pjmedia/wsola.c
- Timestamp:
- Feb 29, 2008 12:00:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/wsola.c
r1829 r1831 352 352 return PJ_SUCCESS; 353 353 } 354 355 356 PJ_DEF(pj_status_t) pjmedia_wsola_reset( pjmedia_wsola *wsola, 357 unsigned options) 358 { 359 PJ_ASSERT_RETURN(wsola && options==0, PJ_EINVAL); 360 PJ_UNUSED_ARG(options); 361 362 pjmedia_zero_samples(wsola->buf, wsola->cur_cnt); 363 wsola->cur_cnt = (pj_uint16_t)(wsola->hist_cnt + 364 wsola->samples_per_frame); 365 return PJ_SUCCESS; 366 } 367 354 368 355 369 static void expand(pjmedia_wsola *wsola, unsigned needed)
Note: See TracChangeset
for help on using the changeset viewer.