| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 } | 250 } |
| 251 if (FLAG_plot_audio_encoder_fec) { | 251 if (FLAG_plot_audio_encoder_fec) { |
| 252 analyzer.CreateAudioEncoderEnableFecGraph(collection->AppendNewPlot()); | 252 analyzer.CreateAudioEncoderEnableFecGraph(collection->AppendNewPlot()); |
| 253 } | 253 } |
| 254 if (FLAG_plot_audio_encoder_dtx) { | 254 if (FLAG_plot_audio_encoder_dtx) { |
| 255 analyzer.CreateAudioEncoderEnableDtxGraph(collection->AppendNewPlot()); | 255 analyzer.CreateAudioEncoderEnableDtxGraph(collection->AppendNewPlot()); |
| 256 } | 256 } |
| 257 if (FLAG_plot_audio_encoder_num_channels) { | 257 if (FLAG_plot_audio_encoder_num_channels) { |
| 258 analyzer.CreateAudioEncoderNumChannelsGraph(collection->AppendNewPlot()); | 258 analyzer.CreateAudioEncoderNumChannelsGraph(collection->AppendNewPlot()); |
| 259 } | 259 } |
| 260 analyzer.CreateQueueDelayGraph(collection->AppendNewPlot()); |
| 260 if (FLAG_plot_audio_jitter_buffer) { | 261 if (FLAG_plot_audio_jitter_buffer) { |
| 261 std::string wav_path; | 262 std::string wav_path; |
| 262 if (FLAG_wav_filename[0] != '\0') { | 263 if (FLAG_wav_filename[0] != '\0') { |
| 263 wav_path = FLAG_wav_filename; | 264 wav_path = FLAG_wav_filename; |
| 264 } else { | 265 } else { |
| 265 wav_path = webrtc::test::ResourcePath( | 266 wav_path = webrtc::test::ResourcePath( |
| 266 "audio_processing/conversational_speech/EN_script2_F_sp2_B1", "wav"); | 267 "audio_processing/conversational_speech/EN_script2_F_sp2_B1", "wav"); |
| 267 } | 268 } |
| 268 analyzer.CreateAudioJitterBufferGraph(wav_path, 48000, | 269 analyzer.CreateAudioJitterBufferGraph(wav_path, 48000, |
| 269 collection->AppendNewPlot()); | 270 collection->AppendNewPlot()); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 295 FLAG_plot_fraction_loss_feedback = setting; | 296 FLAG_plot_fraction_loss_feedback = setting; |
| 296 FLAG_plot_timestamps = setting; | 297 FLAG_plot_timestamps = setting; |
| 297 FLAG_plot_audio_encoder_bitrate_bps = setting; | 298 FLAG_plot_audio_encoder_bitrate_bps = setting; |
| 298 FLAG_plot_audio_encoder_frame_length_ms = setting; | 299 FLAG_plot_audio_encoder_frame_length_ms = setting; |
| 299 FLAG_plot_audio_encoder_packet_loss = setting; | 300 FLAG_plot_audio_encoder_packet_loss = setting; |
| 300 FLAG_plot_audio_encoder_fec = setting; | 301 FLAG_plot_audio_encoder_fec = setting; |
| 301 FLAG_plot_audio_encoder_dtx = setting; | 302 FLAG_plot_audio_encoder_dtx = setting; |
| 302 FLAG_plot_audio_encoder_num_channels = setting; | 303 FLAG_plot_audio_encoder_num_channels = setting; |
| 303 FLAG_plot_audio_jitter_buffer = setting; | 304 FLAG_plot_audio_jitter_buffer = setting; |
| 304 } | 305 } |
| OLD | NEW |