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-codec/speex/gain_table_lbr.c

    r278 r628  
    3030*/ 
    3131 
    32 const signed char gain_cdbk_lbr[96] = { 
    33 -32,-32,-32, 
    34 -31,-58,-16, 
    35 -41,-24,-43, 
    36 -56,-22,-55, 
    37 -13,33,-41, 
    38 -4,-39,-9, 
    39 -41,15,-12, 
    40 -8,-15,-12, 
    41 1,2,-44, 
    42 -22,-66,-42, 
    43 -38,28,-23, 
    44 -21,14,-37, 
    45 0,21,-50, 
    46 -53,-71,-27, 
    47 -37,-1,-19, 
    48 -19,-5,-28, 
    49 6,65,-44, 
    50 -33,-48,-33, 
    51 -40,57,-14, 
    52 -17,4,-45, 
    53 -31,38,-33, 
    54 -23,28,-40, 
    55 -43,29,-12, 
    56 -34,13,-23, 
    57 -16,15,-27, 
    58 -14,-82,-15, 
    59 -31,25,-32, 
    60 -21,5,-5, 
    61 -47,-63,-51, 
    62 -46,12,3, 
    63 -28,-17,-29, 
    64 -10,14,-40}; 
     32const signed char gain_cdbk_lbr[128] = { 
     33-32, -32, -32, 0, 
     34-31, -58, -16, 22, 
     35-41, -24, -43, 14, 
     36-56, -22, -55, 29, 
     37-13, 33, -41, 47, 
     38-4, -39, -9, 29, 
     39-41, 15, -12, 38, 
     40-8, -15, -12, 31, 
     411, 2, -44, 40, 
     42-22, -66, -42, 27, 
     43-38, 28, -23, 38, 
     44-21, 14, -37, 31, 
     450, 21, -50, 52, 
     46-53, -71, -27, 33, 
     47-37, -1, -19, 25, 
     48-19, -5, -28, 22, 
     496, 65, -44, 74, 
     50-33, -48, -33, 9, 
     51-40, 57, -14, 58, 
     52-17, 4, -45, 32, 
     53-31, 38, -33, 36, 
     54-23, 28, -40, 39, 
     55-43, 29, -12, 46, 
     56-34, 13, -23, 28, 
     57-16, 15, -27, 34, 
     58-14, -82, -15, 43, 
     59-31, 25, -32, 29, 
     60-21, 5, -5, 38, 
     61-47, -63, -51, 33, 
     62-46, 12, 3, 47, 
     63-28, -17, -29, 11, 
     64-10, 14, -40, 38}; 
Note: See TracChangeset for help on using the changeset viewer.