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

    r2002 r6129  
    88   modification, are permitted provided that the following conditions 
    99   are met: 
    10     
     10 
    1111   - Redistributions of source code must retain the above copyright 
    1212   notice, this list of conditions and the following disclaimer. 
    13     
     13 
    1414   - Redistributions in binary form must reproduce the above copyright 
    1515   notice, this list of conditions and the following disclaimer in the 
    1616   documentation and/or other materials provided with the distribution. 
    17     
     17 
    1818   - Neither the name of the Xiph.org Foundation nor the names of its 
    1919   contributors may be used to endorse or promote products derived from 
    2020   this software without specific prior written permission. 
    21     
     21 
    2222   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
    2323   ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
     
    5252#define SATURATE16(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) 
    5353#define SATURATE32(x,a) (((x)>(a) ? (a) : (x)<-(a) ? -(a) : (x))) 
     54 
     55#define SATURATE32PSHR(x,shift,a) (((x)>=(SHL32(a,shift))) ? (a) : \ 
     56                                   (x)<=-(SHL32(a,shift)) ? -(a) : \ 
     57                                   (PSHR32(x, shift))) 
    5458 
    5559#define SHR(a,shift) ((a) >> (shift)) 
Note: See TracChangeset for help on using the changeset viewer.