Ignore:
Timestamp:
Jan 9, 2020 9:05:50 AM (4 years ago)
Author:
ming
Message:

Closed #589: Update Speex AEC to the latest version to get multichannel EC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/speex/libspeex/scal.c

    r2002 r6129  
    5252#include <math.h> 
    5353#include <stdlib.h> 
     54 
     55#ifndef M_PI 
     56#define M_PI           3.14159265358979323846  /* pi */ 
     57#endif 
    5458 
    5559#define ALLPASS_ORDER 20 
     
    172176 
    173177      x = buff+st->frame_size; 
    174       beta = 1.-.3*amount*amount; 
    175178      if (amount>1) 
    176179         beta = 1-sqrt(.4*amount); 
Note: See TracChangeset for help on using the changeset viewer.