blob: ac1f33945626dfccb6e36032accabe8a7eaff038 [file] [log] [blame]
bjornv@webrtc.org555fc782014-07-10 08:03:11 +00001/*
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 Bonadei92ea95e2017-09-15 06:47:31 +020011#ifndef MODULES_AUDIO_PROCESSING_AEC_AEC_COMMON_H_
12#define MODULES_AUDIO_PROCESSING_AEC_AEC_COMMON_H_
bjornv@webrtc.org555fc782014-07-10 08:03:11 +000013
bjornv@webrtc.org555fc782014-07-10 08:03:11 +000014#ifdef _MSC_VER /* visual c++ */
15#define ALIGN16_BEG __declspec(align(16))
16#define ALIGN16_END
17#else /* gcc or icc */
18#define ALIGN16_BEG
19#define ALIGN16_END __attribute__((aligned(16)))
20#endif
21
peah50e21bd2016-03-05 08:39:21 -080022#ifdef __cplusplus
23namespace webrtc {
24#endif
25
bjornv@webrtc.org555fc782014-07-10 08:03:11 +000026extern ALIGN16_BEG const float ALIGN16_END WebRtcAec_sqrtHanning[65];
27extern ALIGN16_BEG const float ALIGN16_END WebRtcAec_weightCurve[65];
28extern ALIGN16_BEG const float ALIGN16_END WebRtcAec_overDriveCurve[65];
29extern const float WebRtcAec_kExtendedSmoothingCoefficients[2][2];
30extern const float WebRtcAec_kNormalSmoothingCoefficients[2][2];
31extern const float WebRtcAec_kMinFarendPSD;
32
peah50e21bd2016-03-05 08:39:21 -080033#ifdef __cplusplus
34} // namespace webrtc
35#endif
36
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020037#endif // MODULES_AUDIO_PROCESSING_AEC_AEC_COMMON_H_