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

Side by Side Diff: webrtc/modules/audio_processing/echo_cancellation_impl.h

Issue 1886233003: Added a protobuf field for the audio processing module to store the status of experiments (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added unittest for reading of the added protobuf field Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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
(...skipping 29 matching lines...) Expand all
40 bool is_drift_compensation_enabled() const override; 40 bool is_drift_compensation_enabled() const override;
41 41
42 void Initialize(int sample_rate_hz, 42 void Initialize(int sample_rate_hz,
43 size_t num_reverse_channels_, 43 size_t num_reverse_channels_,
44 size_t num_output_channels_, 44 size_t num_output_channels_,
45 size_t num_proc_channels_); 45 size_t num_proc_channels_);
46 void SetExtraOptions(const Config& config); 46 void SetExtraOptions(const Config& config);
47 bool is_delay_agnostic_enabled() const; 47 bool is_delay_agnostic_enabled() const;
48 bool is_extended_filter_enabled() const; 48 bool is_extended_filter_enabled() const;
49 bool is_aec3_enabled() const; 49 bool is_aec3_enabled() const;
50 std::string GetExperimentsDescription();
50 51
51 // Checks whether the module is enabled. Must only be 52 // Checks whether the module is enabled. Must only be
52 // called from the render side of APM as otherwise 53 // called from the render side of APM as otherwise
53 // deadlocks may occur. 54 // deadlocks may occur.
54 bool is_enabled_render_side_query() const; 55 bool is_enabled_render_side_query() const;
55 56
56 // Reads render side data that has been queued on the render call. 57 // Reads render side data that has been queued on the render call.
57 // Called holding the capture lock. 58 // Called holding the capture lock.
58 void ReadQueuedRenderData(); 59 void ReadQueuedRenderData();
59 60
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 114
114 std::vector<std::unique_ptr<Canceller>> cancellers_; 115 std::vector<std::unique_ptr<Canceller>> cancellers_;
115 std::unique_ptr<StreamProperties> stream_properties_; 116 std::unique_ptr<StreamProperties> stream_properties_;
116 117
117 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl); 118 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl);
118 }; 119 };
119 120
120 } // namespace webrtc 121 } // namespace webrtc
121 122
122 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ 123 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/debug.proto ('k') | webrtc/modules/audio_processing/echo_cancellation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698