OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright (c) 2015 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 | |
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_LOGGING_FILE_HANDLING_ | |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_LOGGING_FILE_HANDLING_ | |
13 | |
14 // To enable AEC logging, enable the gyp variable aec_debug_dump=1 | |
Andrew MacDonald
2015/08/17 16:37:05
Remove this; it's already mentioned in aec_logging
peah-webrtc
2015/08/25 05:05:29
Done.
| |
15 #include <stdio.h> | |
16 | |
17 #include "webrtc/common_audio/wav_file.h" | |
18 #include "webrtc/typedefs.h" | |
19 | |
20 #ifdef __cplusplus | |
21 extern "C" { | |
22 #endif | |
23 | |
24 #ifdef WEBRTC_AEC_DEBUG_DUMP | |
25 // Opens a new Wav file for writing. If it was already open with a different | |
26 // sample frequency, it closes it first. | |
27 void WebRtcAec_ReopenWav(const char* name, | |
28 int instance_index, | |
29 int process_rate, | |
30 int sample_rate, | |
31 rtc_WavWriter** wav_file); | |
32 | |
33 // Opens dumpfile with instance-specific filename. | |
34 void WebRtcAec_RawFileOpen(const char* name, int instance_counter, FILE** file); | |
35 | |
36 #endif // WEBRTC_AEC_DEBUG_DUMP | |
37 | |
38 #ifdef __cplusplus | |
39 } | |
40 #endif | |
41 | |
42 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_LOGGING_FILE_HANDLING_ | |
OLD | NEW |