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

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

Issue 3004813002: neteq_rtpplay: Fix a bug in the matlab plotting function (Closed)
Patch Set: Created 3 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 996d8d8e41168bcc7ea85815bbc2c116f5674001..b70a7f6ea9fc11a04c616365e12e781c4db3f868 100644
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
@@ -389,7 +389,7 @@ class StatsGetter : public NetEqGetAudioCallback {
stats_.push_back(stats);
}
if (other_callback_) {
- other_callback_->BeforeGetAudio(neteq);
+ other_callback_->AfterGetAudio(time_now_ms, audio_frame, muted, neteq);
}
}
@@ -635,9 +635,12 @@ int RunTest(int argc, char* argv[]) {
int64_t test_duration_ms = test.Run();
if (FLAGS_matlabplot) {
- std::cout << "Creating Matlab plot script " << output_file_name + ".m"
+ auto matlab_script_name = output_file_name;
+ std::replace(matlab_script_name.begin(), matlab_script_name.end(), '.',
+ '_');
+ std::cout << "Creating Matlab plot script " << matlab_script_name + ".m"
<< std::endl;
- delay_analyzer->CreateMatlabScript(output_file_name + ".m");
+ delay_analyzer->CreateMatlabScript(matlab_script_name + ".m");
}
printf("Simulation statistics:\n");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698