Ignore:
Timestamp:
Jul 26, 2006 5:04:54 PM (18 years ago)
Author:
bennylp
Message:
  • Bring speex codec up to date with their SVN trunk
  • Speex codec should work in FIXED_POINT mode when PJ_HAS_FLOATING_POINT is set to zero.
  • ulaw2linear will return zero if zero is given (this would make the VAD works better, and it also fixed click noise when call is established/hangup).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/alaw_ulaw.c

    r584 r628  
    256256        int             t; 
    257257 
     258        /* Shortcut: when input is zero, output is zero  
     259         * This will also make the VAD works harder. 
     260         *  -bennylp 
     261         */ 
     262        if (u_val == 0) return 0; 
     263 
    258264        /* Complement to obtain normal u-law value. */ 
    259265        u_val = ~u_val; 
Note: See TracChangeset for help on using the changeset viewer.