Changeset 2378 for pjproject/trunk
- Timestamp:
- Dec 12, 2008 2:59:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/wsola.c
r2277 r2378 31 31 #define THIS_FILE "wsola.c" 32 32 33 /* 34 * http://trac.pjsip.org/repos/ticket/683: 35 * Workaround for segfault problem in the fixed point version of create_win() 36 * on ARM9 platform, possibly due to gcc optimization bug. 37 * 38 * For now, we will use linear window when floating point is disabled. 39 */ 40 #ifndef PJMEDIA_WSOLA_LINEAR_WIN 41 # define PJMEDIA_WSOLA_LINEAR_WIN (!PJ_HAS_FLOATING_POINT) 42 #endif 43 33 44 34 45 #if 0 … … 369 380 } 370 381 371 #if PJ_HAS_INT64 382 #if PJ_HAS_INT64 && !PJMEDIA_WSOLA_LINEAR_WIN 372 383 /* approx_cos(): 373 384 * see: http://www.audiomulch.com/~rossb/code/sinusoids/ … … 389 400 return j; 390 401 } 391 #endif /* PJ_HAS_INT64 */402 #endif /* PJ_HAS_INT64 && .. */ 392 403 393 404 static void create_win(pj_pool_t *pool, pj_uint16_t **pw, unsigned count) … … 401 412 402 413 for (i=0; i<count; i++) { 403 #if PJ_HAS_INT64 414 #if PJ_HAS_INT64 && !PJMEDIA_WSOLA_LINEAR_WIN 404 415 pj_uint32_t phase; 405 416 pj_uint64_t cos_val;
Note: See TracChangeset
for help on using the changeset viewer.