Split NetEq simulation and jitter buffer plot to be able to plot other metrics in the simulation.

Bug: webrtc:9147
Change-Id: Ied37dedd19fc24a48700fb01645cee6288d3efa7
Reviewed-on: https://webrtc-review.googlesource.com/70160
Commit-Queue: Minyue Li <minyue@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23125}
This commit is contained in:
Minyue Li
2018-05-04 09:46:44 +02:00
committed by Commit Bot
parent 91c237e374
commit c6ff757b24
3 changed files with 40 additions and 19 deletions

View File

@ -333,7 +333,8 @@ int main(int argc, char* argv[]) {
wav_path = webrtc::test::ResourcePath(
"audio_processing/conversational_speech/EN_script2_F_sp2_B1", "wav");
}
analyzer.CreateAudioJitterBufferGraph(wav_path, 48000,
auto neteq_stats = analyzer.SimulateNetEq(wav_path, 48000);
analyzer.CreateAudioJitterBufferGraph(neteq_stats,
collection->AppendNewPlot());
}