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

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

Issue 1313873003: Reland: Implement NetEq's CurrentDelay function (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing win64 build Created 5 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 bool SetMinimumDelay(int delay_ms) override; 129 bool SetMinimumDelay(int delay_ms) override;
130 130
131 bool SetMaximumDelay(int delay_ms) override; 131 bool SetMaximumDelay(int delay_ms) override;
132 132
133 int LeastRequiredDelayMs() const override; 133 int LeastRequiredDelayMs() const override;
134 134
135 int SetTargetDelay() override; 135 int SetTargetDelay() override;
136 136
137 int TargetDelay() override; 137 int TargetDelay() override;
138 138
139 int CurrentDelay() override; 139 int CurrentDelayMs() const override;
140 140
141 // Sets the playout mode to |mode|. 141 // Sets the playout mode to |mode|.
142 // Deprecated. 142 // Deprecated.
143 // TODO(henrik.lundin) Delete. 143 // TODO(henrik.lundin) Delete.
144 void SetPlayoutMode(NetEqPlayoutMode mode) override; 144 void SetPlayoutMode(NetEqPlayoutMode mode) override;
145 145
146 // Returns the current playout mode. 146 // Returns the current playout mode.
147 // Deprecated. 147 // Deprecated.
148 // TODO(henrik.lundin) Delete. 148 // TODO(henrik.lundin) Delete.
149 NetEqPlayoutMode PlayoutMode() const override; 149 NetEqPlayoutMode PlayoutMode() const override;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 // module is designed to compensate for this. 397 // module is designed to compensate for this.
398 int decoded_packet_sequence_number_ GUARDED_BY(crit_sect_); 398 int decoded_packet_sequence_number_ GUARDED_BY(crit_sect_);
399 uint32_t decoded_packet_timestamp_ GUARDED_BY(crit_sect_); 399 uint32_t decoded_packet_timestamp_ GUARDED_BY(crit_sect_);
400 400
401 private: 401 private:
402 DISALLOW_COPY_AND_ASSIGN(NetEqImpl); 402 DISALLOW_COPY_AND_ASSIGN(NetEqImpl);
403 }; 403 };
404 404
405 } // namespace webrtc 405 } // namespace webrtc
406 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ 406 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/interface/neteq.h ('k') | webrtc/modules/audio_coding/neteq/neteq_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698