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

Unified Diff: webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h

Issue 2319553003: Fixing NetEqReplacementInput for reordered and missing packets (Closed)
Patch Set: Fixing review comment and a lint nit 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h
diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h b/webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h
index 07153dbb76bf1eea5b2ce0f84de18ac555d58c90..ee1e4ae66e5de0d7df3b452fba464c42ac5797f9 100644
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_REPLACEMENT_INPUT_H_
#define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_REPLACEMENT_INPUT_H_
+#include <memory>
#include <set>
#include "webrtc/modules/audio_coding/neteq/tools/neteq_input.h"
@@ -42,6 +43,7 @@ class NetEqReplacementInput : public NetEqInput {
const std::set<uint8_t> comfort_noise_types_;
const std::set<uint8_t> forbidden_types_;
std::unique_ptr<PacketData> packet_; // The next packet to deliver.
+ uint32_t last_frame_size_timestamps_ = 960; // Initial guess: 20 ms @ 48 kHz.
};
} // namespace test
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698