| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 |
| 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AEC_DUMP_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AEC_DUMP_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AEC_DUMP_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AEC_DUMP_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/rtc_base/array_view.h" | 18 #include "webrtc/api/array_view.h" |
| 19 | 19 |
| 20 namespace webrtc { | 20 namespace webrtc { |
| 21 | 21 |
| 22 class AudioFrame; | 22 class AudioFrame; |
| 23 | 23 |
| 24 // Struct for passing current config from APM without having to | 24 // Struct for passing current config from APM without having to |
| 25 // include protobuf headers. | 25 // include protobuf headers. |
| 26 struct InternalAPMConfig { | 26 struct InternalAPMConfig { |
| 27 InternalAPMConfig(); | 27 InternalAPMConfig(); |
| 28 InternalAPMConfig(const InternalAPMConfig&); | 28 InternalAPMConfig(const InternalAPMConfig&); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // Logs Event::Type REVERSE_STREAM message. | 132 // Logs Event::Type REVERSE_STREAM message. |
| 133 virtual void WriteRenderStreamMessage(const AudioFrame& frame) = 0; | 133 virtual void WriteRenderStreamMessage(const AudioFrame& frame) = 0; |
| 134 virtual void WriteRenderStreamMessage(const FloatAudioFrame& src) = 0; | 134 virtual void WriteRenderStreamMessage(const FloatAudioFrame& src) = 0; |
| 135 | 135 |
| 136 // Logs Event::Type CONFIG message. | 136 // Logs Event::Type CONFIG message. |
| 137 virtual void WriteConfig(const InternalAPMConfig& config) = 0; | 137 virtual void WriteConfig(const InternalAPMConfig& config) = 0; |
| 138 }; | 138 }; |
| 139 } // namespace webrtc | 139 } // namespace webrtc |
| 140 | 140 |
| 141 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AEC_DUMP_H_ | 141 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AEC_DUMP_H_ |
| OLD | NEW |