/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef MODULES_AUDIO_PROCESSING_INCLUDE_AEC_DUMP_H_ #define MODULES_AUDIO_PROCESSING_INCLUDE_AEC_DUMP_H_ #include <stdint.h> #include <string> #include "absl/base/attributes.h" #include "absl/types/optional.h" #include "api/audio/audio_processing.h" #include "modules/audio_processing/include/audio_frame_view.h" namespace webrtc { // Struct for passing current config from APM without having to // include protobuf headers. struct InternalAPMConfig { … }; // An interface for recording configuration and input/output streams // of the Audio Processing Module. The recordings are called // 'aec-dumps' and are stored in a protobuf format defined in // debug.proto. // The Write* methods are always safe to call concurrently or // otherwise for all implementing subclasses. The intended mode of // operation is to create a protobuf object from the input, and send // it away to be written to file asynchronously. class AecDump { … }; } // namespace webrtc #endif // MODULES_AUDIO_PROCESSING_INCLUDE_AEC_DUMP_H_