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

Unified Diff: webrtc/tools/event_log_visualizer/main.cc

Issue 2346363003: Added graph for plotting the audio level from an Rtc event log. (Closed)
Patch Set: Addressed comments by hlundin and terelius. 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 | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/event_log_visualizer/main.cc
diff --git a/webrtc/tools/event_log_visualizer/main.cc b/webrtc/tools/event_log_visualizer/main.cc
index a3e931a281b6e00c1bd378d177656e898a329a46..bde172a835d5beeeb41436fac728d525a3490966 100644
--- a/webrtc/tools/event_log_visualizer/main.cc
+++ b/webrtc/tools/event_log_visualizer/main.cc
@@ -25,6 +25,9 @@ DEFINE_bool(plot_packets,
DEFINE_bool(plot_audio_playout,
false,
"Plot bar graph showing the time between each audio playout.");
+DEFINE_bool(plot_audio_level,
+ false,
+ "Plot line graph showing the audio level.");
DEFINE_bool(
plot_sequence_number,
false,
@@ -108,6 +111,10 @@ int main(int argc, char* argv[]) {
analyzer.CreatePlayoutGraph(collection->AppendNewPlot());
}
+ if (FLAGS_plot_all || FLAGS_plot_audio_level) {
+ analyzer.CreateAudioLevelGraph(collection->AppendNewPlot());
+ }
+
if (FLAGS_plot_all || FLAGS_plot_sequence_number) {
if (FLAGS_incoming) {
analyzer.CreateSequenceNumberGraph(collection->AppendNewPlot());
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698