| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 typedef struct { | 47 typedef struct { |
| 48 AecLevel rerl; | 48 AecLevel rerl; |
| 49 AecLevel erl; | 49 AecLevel erl; |
| 50 AecLevel erle; | 50 AecLevel erle; |
| 51 AecLevel aNlp; | 51 AecLevel aNlp; |
| 52 } AecMetrics; | 52 } AecMetrics; |
| 53 | 53 |
| 54 struct AecCore; | 54 struct AecCore; |
| 55 | 55 |
| 56 #ifdef __cplusplus | |
| 57 extern "C" { | |
| 58 #endif | |
| 59 | |
| 60 /* | 56 /* |
| 61 * Allocates the memory needed by the AEC. The memory needs to be initialized | 57 * Allocates the memory needed by the AEC. The memory needs to be initialized |
| 62 * separately using the WebRtcAec_Init() function. Returns a pointer to the | 58 * separately using the WebRtcAec_Init() function. Returns a pointer to the |
| 63 * object or NULL on error. | 59 * object or NULL on error. |
| 64 */ | 60 */ |
| 65 void* WebRtcAec_Create(); | 61 void* WebRtcAec_Create(); |
| 66 | 62 |
| 67 /* | 63 /* |
| 68 * This function releases the memory allocated by WebRtcAec_Create(). | 64 * This function releases the memory allocated by WebRtcAec_Create(). |
| 69 * | 65 * |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 // Returns a pointer to the low level AEC handle. | 227 // Returns a pointer to the low level AEC handle. |
| 232 // | 228 // |
| 233 // Input: | 229 // Input: |
| 234 // - handle : Pointer to the AEC instance. | 230 // - handle : Pointer to the AEC instance. |
| 235 // | 231 // |
| 236 // Return value: | 232 // Return value: |
| 237 // - AecCore pointer : NULL for error. | 233 // - AecCore pointer : NULL for error. |
| 238 // | 234 // |
| 239 struct AecCore* WebRtcAec_aec_core(void* handle); | 235 struct AecCore* WebRtcAec_aec_core(void* handle); |
| 240 | 236 |
| 241 #ifdef __cplusplus | |
| 242 } | |
| 243 #endif | |
| 244 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_H_ | 237 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_H_ |
| OLD | NEW |