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/filters_arm4.h

    r278 r628  
    102102   spx_sig_t xi,yi,nyi; 
    103103 
     104   for (i=0;i<ord;i++) 
     105      mem[i] = SHR32(mem[i],1);    
    104106   for (i=0;i<N;i++) 
    105107   { 
     
    253255    
    254256   } 
     257   for (i=0;i<ord;i++) 
     258      mem[i] = SHL32(mem[i],1);    
    255259} 
    256260 
     
    260264   int i,j; 
    261265   spx_sig_t xi,yi,nyi; 
     266 
     267   for (i=0;i<ord;i++) 
     268      mem[i] = SHR32(mem[i],1);    
    262269 
    263270   for (i=0;i<N;i++) 
     
    377384    
    378385   } 
     386   for (i=0;i<ord;i++) 
     387      mem[i] = SHL32(mem[i],1);    
     388 
    379389} 
Note: See TracChangeset for help on using the changeset viewer.