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

Unified Diff: webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc

Issue 2851383004: NetEqTest: Extend the callback structure (Closed)
Patch Set: Created 3 years, 8 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
Index: webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc b/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
index 2266cd4de419dcb9fe15a48bf453756a1a17e37a..e998fa9204faae1bd6795cff64c089d1ebb3826d 100644
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
@@ -445,11 +445,11 @@ int RunTest(int argc, char* argv[]) {
ext_codecs[replacement_pt] = ext_dec_info;
}
- DefaultNetEqTestErrorCallback error_cb;
+ NetEqTest::Callbacks callbacks;
NetEq::Config config;
config.sample_rate_hz = sample_rate_hz;
NetEqTest test(config, codecs, ext_codecs, std::move(input),
- std::move(output), &error_cb);
+ std::move(output), callbacks);
int64_t test_duration_ms = test.Run();
NetEqNetworkStatistics stats = test.SimulationStats();

Powered by Google App Engine
This is Rietveld 408576698