Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: webrtc/modules/audio_processing/aec/echo_cancellation_internal.h

Issue 1952593002: Introduced the new APM data logging functionality into the AEC echo_cancellation.* API layer. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/aec/echo_cancellation_internal.h
diff --git a/webrtc/modules/audio_processing/aec/echo_cancellation_internal.h b/webrtc/modules/audio_processing/aec/echo_cancellation_internal.h
index 188fb576f0b9f7bb15eb1808e6212b9aa9082c3b..5e79626d6f0d746522026537db5283f85df54283 100644
--- a/webrtc/modules/audio_processing/aec/echo_cancellation_internal.h
+++ b/webrtc/modules/audio_processing/aec/echo_cancellation_internal.h
@@ -11,6 +11,8 @@
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_INTERNAL_H_
#define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_ECHO_CANCELLATION_INTERNAL_H_
+#include <memory>
+
extern "C" {
#include "webrtc/common_audio/ring_buffer.h"
}
@@ -18,7 +20,11 @@ extern "C" {
namespace webrtc {
+class ApmDataDumper;
+
typedef struct Aec {
+ std::unique_ptr<ApmDataDumper> data_dumper;
+
int delayCtr;
int sampFreq;
int splitSampFreq;
@@ -45,12 +51,6 @@ typedef struct Aec {
int checkBuffSize;
short lastDelayDiff;
-#if WEBRTC_AEC_DEBUG_DUMP
- FILE* bufFile;
- FILE* delayFile;
- FILE* skewFile;
-#endif
-
// Structures
void* resampler;
« no previous file with comments | « webrtc/modules/audio_processing/aec/echo_cancellation.cc ('k') | webrtc/modules/audio_processing/logging/apm_data_dumper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698