Chromium Code Reviews| Index: webrtc/modules/audio_processing/aec/aec_common.h |
| diff --git a/webrtc/modules/audio_processing/aec/aec_common.h b/webrtc/modules/audio_processing/aec/aec_common.h |
| index 2b1a1c160f1bf26766f531070e71fb0c222b090b..0e3cddeb4c6c64df7b1d3b3c22a113bcf699e193 100644 |
| --- a/webrtc/modules/audio_processing/aec/aec_common.h |
| +++ b/webrtc/modules/audio_processing/aec/aec_common.h |
| @@ -21,6 +21,10 @@ |
| #define ALIGN16_END __attribute__((aligned(16))) |
| #endif |
| +#ifdef __cplusplus |
|
the sun
2016/03/04 12:49:46
So we're still using this from C code? Does it mak
peah-webrtc
2016/03/04 13:11:02
That is a very good point. It was discussed, and t
|
| +namespace webrtc { |
| +#endif |
| + |
| extern ALIGN16_BEG const float ALIGN16_END WebRtcAec_sqrtHanning[65]; |
| extern ALIGN16_BEG const float ALIGN16_END WebRtcAec_weightCurve[65]; |
| extern ALIGN16_BEG const float ALIGN16_END WebRtcAec_overDriveCurve[65]; |
| @@ -28,4 +32,8 @@ extern const float WebRtcAec_kExtendedSmoothingCoefficients[2][2]; |
| extern const float WebRtcAec_kNormalSmoothingCoefficients[2][2]; |
| extern const float WebRtcAec_kMinFarendPSD; |
| +#ifdef __cplusplus |
| +} // namespace webrtc |
| +#endif |
| + |
| #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_COMMON_H_ |