bjornv@webrtc.org | 555fc78 | 2014-07-10 08:03:11 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license |
| 5 | * that can be found in the LICENSE file in the root of the source |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 11 | #ifndef MODULES_AUDIO_PROCESSING_AEC_AEC_COMMON_H_ |
| 12 | #define MODULES_AUDIO_PROCESSING_AEC_AEC_COMMON_H_ |
bjornv@webrtc.org | 555fc78 | 2014-07-10 08:03:11 +0000 | [diff] [blame] | 13 | |
Mirko Bonadei | 7120742 | 2017-09-15 13:58:09 +0200 | [diff] [blame^] | 14 | #include "typedefs.h" // NOLINT(build/include) |
bjornv@webrtc.org | 555fc78 | 2014-07-10 08:03:11 +0000 | [diff] [blame] | 15 | |
| 16 | #ifdef _MSC_VER /* visual c++ */ |
| 17 | #define ALIGN16_BEG __declspec(align(16)) |
| 18 | #define ALIGN16_END |
| 19 | #else /* gcc or icc */ |
| 20 | #define ALIGN16_BEG |
| 21 | #define ALIGN16_END __attribute__((aligned(16))) |
| 22 | #endif |
| 23 | |
peah | 50e21bd | 2016-03-05 08:39:21 -0800 | [diff] [blame] | 24 | #ifdef __cplusplus |
| 25 | namespace webrtc { |
| 26 | #endif |
| 27 | |
bjornv@webrtc.org | 555fc78 | 2014-07-10 08:03:11 +0000 | [diff] [blame] | 28 | extern ALIGN16_BEG const float ALIGN16_END WebRtcAec_sqrtHanning[65]; |
| 29 | extern ALIGN16_BEG const float ALIGN16_END WebRtcAec_weightCurve[65]; |
| 30 | extern ALIGN16_BEG const float ALIGN16_END WebRtcAec_overDriveCurve[65]; |
| 31 | extern const float WebRtcAec_kExtendedSmoothingCoefficients[2][2]; |
| 32 | extern const float WebRtcAec_kNormalSmoothingCoefficients[2][2]; |
| 33 | extern const float WebRtcAec_kMinFarendPSD; |
| 34 | |
peah | 50e21bd | 2016-03-05 08:39:21 -0800 | [diff] [blame] | 35 | #ifdef __cplusplus |
| 36 | } // namespace webrtc |
| 37 | #endif |
| 38 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 39 | #endif // MODULES_AUDIO_PROCESSING_AEC_AEC_COMMON_H_ |