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

Side by Side Diff: webrtc/modules/audio_coding/neteq/neteq_impl.h

Issue 2262203002: Add NetEq::FilteredCurrentDelayMs() and use it in VoiceEngine (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool SetMaximumDelay(int delay_ms) override; 139 bool SetMaximumDelay(int delay_ms) override;
140 140
141 int LeastRequiredDelayMs() const override; 141 int LeastRequiredDelayMs() const override;
142 142
143 int SetTargetDelay() override; 143 int SetTargetDelay() override;
144 144
145 int TargetDelay() override; 145 int TargetDelay() override;
146 146
147 int CurrentDelayMs() const override; 147 int CurrentDelayMs() const override;
148 148
149 int FilteredCurrentDelayMs() const override;
150
149 // Sets the playout mode to |mode|. 151 // Sets the playout mode to |mode|.
150 // Deprecated. 152 // Deprecated.
151 // TODO(henrik.lundin) Delete. 153 // TODO(henrik.lundin) Delete.
152 void SetPlayoutMode(NetEqPlayoutMode mode) override; 154 void SetPlayoutMode(NetEqPlayoutMode mode) override;
153 155
154 // Returns the current playout mode. 156 // Returns the current playout mode.
155 // Deprecated. 157 // Deprecated.
156 // TODO(henrik.lundin) Delete. 158 // TODO(henrik.lundin) Delete.
157 NetEqPlayoutMode PlayoutMode() const override; 159 NetEqPlayoutMode PlayoutMode() const override;
158 160
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 AudioFrame::kVadPassive; 413 AudioFrame::kVadPassive;
412 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ 414 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_
413 GUARDED_BY(crit_sect_); 415 GUARDED_BY(crit_sect_);
414 416
415 private: 417 private:
416 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); 418 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl);
417 }; 419 };
418 420
419 } // namespace webrtc 421 } // namespace webrtc
420 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ 422 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698