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

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

Issue 2288153002: Fix Chromium clang plugin warnings (Closed)
Patch Set: Created 4 years, 3 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 10 matching lines...) Expand all
21 #include "webrtc/modules/audio_processing/render_queue_item_verifier.h" 21 #include "webrtc/modules/audio_processing/render_queue_item_verifier.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 class AudioBuffer; 25 class AudioBuffer;
26 26
27 class EchoCancellationImpl : public EchoCancellation { 27 class EchoCancellationImpl : public EchoCancellation {
28 public: 28 public:
29 EchoCancellationImpl(rtc::CriticalSection* crit_render, 29 EchoCancellationImpl(rtc::CriticalSection* crit_render,
30 rtc::CriticalSection* crit_capture); 30 rtc::CriticalSection* crit_capture);
31 virtual ~EchoCancellationImpl(); 31 ~EchoCancellationImpl() override;
32 32
33 int ProcessRenderAudio(const AudioBuffer* audio); 33 int ProcessRenderAudio(const AudioBuffer* audio);
34 int ProcessCaptureAudio(AudioBuffer* audio, int stream_delay_ms); 34 int ProcessCaptureAudio(AudioBuffer* audio, int stream_delay_ms);
35 35
36 // EchoCancellation implementation. 36 // EchoCancellation implementation.
37 bool is_enabled() const override; 37 bool is_enabled() const override;
38 int stream_drift_samples() const override; 38 int stream_drift_samples() const override;
39 SuppressionLevel suppression_level() const override; 39 SuppressionLevel suppression_level() const override;
40 bool is_drift_compensation_enabled() const override; 40 bool is_drift_compensation_enabled() const override;
41 41
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 std::vector<std::unique_ptr<Canceller>> cancellers_; 117 std::vector<std::unique_ptr<Canceller>> cancellers_;
118 std::unique_ptr<StreamProperties> stream_properties_; 118 std::unique_ptr<StreamProperties> stream_properties_;
119 119
120 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl); 120 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl);
121 }; 121 };
122 122
123 } // namespace webrtc 123 } // namespace webrtc
124 124
125 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ 125 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_impl.cc ('k') | webrtc/modules/audio_processing/echo_control_mobile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698