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

Side by Side Diff: webrtc/modules/audio_coding/neteq/interface/neteq.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
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/neteq_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // the user defined limits (applied by calling setMinimumDelay() and/or 208 // the user defined limits (applied by calling setMinimumDelay() and/or
209 // SetMaximumDelay()) are applied. 209 // SetMaximumDelay()) are applied.
210 virtual int LeastRequiredDelayMs() const = 0; 210 virtual int LeastRequiredDelayMs() const = 0;
211 211
212 // Not implemented. 212 // Not implemented.
213 virtual int SetTargetDelay() = 0; 213 virtual int SetTargetDelay() = 0;
214 214
215 // Not implemented. 215 // Not implemented.
216 virtual int TargetDelay() = 0; 216 virtual int TargetDelay() = 0;
217 217
218 // Not implemented. 218 // Returns the current total delay (packet buffer and sync buffer) in ms.
219 virtual int CurrentDelay() = 0; 219 virtual int CurrentDelayMs() const = 0;
220 220
221 // Sets the playout mode to |mode|. 221 // Sets the playout mode to |mode|.
222 // Deprecated. Set the mode in the Config struct passed to the constructor. 222 // Deprecated. Set the mode in the Config struct passed to the constructor.
223 // TODO(henrik.lundin) Delete. 223 // TODO(henrik.lundin) Delete.
224 virtual void SetPlayoutMode(NetEqPlayoutMode mode) = 0; 224 virtual void SetPlayoutMode(NetEqPlayoutMode mode) = 0;
225 225
226 // Returns the current playout mode. 226 // Returns the current playout mode.
227 // Deprecated. 227 // Deprecated.
228 // TODO(henrik.lundin) Delete. 228 // TODO(henrik.lundin) Delete.
229 virtual NetEqPlayoutMode PlayoutMode() const = 0; 229 virtual NetEqPlayoutMode PlayoutMode() const = 0;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 279
280 protected: 280 protected:
281 NetEq() {} 281 NetEq() {}
282 282
283 private: 283 private:
284 DISALLOW_COPY_AND_ASSIGN(NetEq); 284 DISALLOW_COPY_AND_ASSIGN(NetEq);
285 }; 285 };
286 286
287 } // namespace webrtc 287 } // namespace webrtc
288 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_INTERFACE_NETEQ_H_ 288 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_INTERFACE_NETEQ_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/neteq_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698