Chromium Code Reviews

Side by Side Diff: webrtc/modules/audio_processing/logging/aec_logging_file_handling.h

Issue 1877713002: Replaced the data logging functionality in the AEC with a generic logging functionality (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase with latest master Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(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 #include <stdio.h>
15
16 #include "webrtc/common_audio/wav_file.h"
17 #include "webrtc/typedefs.h"
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 #ifdef WEBRTC_AEC_DEBUG_DUMP
24 // Opens a new Wav file for writing. If it was already open with a different
25 // sample frequency, it closes it first.
26 void WebRtcAec_ReopenWav(const char* name,
27 int instance_index,
28 int process_rate,
29 int sample_rate,
30 rtc_WavWriter** wav_file);
31
32 // Opens dumpfile with instance-specific filename.
33 void WebRtcAec_RawFileOpen(const char* name, int instance_index, FILE** file);
34
35 #endif // WEBRTC_AEC_DEBUG_DUMP
36
37 #ifdef __cplusplus
38 }
39 #endif
40
41 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_LOGGING_FILE_HANDLING_
OLDNEW

Powered by Google App Engine