Unify the FillAudioEncoderTimeSeries with existing processing functions.

Use lambdas instead of function objects.

BUG=webrtc:7323

Review-Url: https://codereview.webrtc.org/2743933004
Cr-Commit-Position: refs/heads/master@{#17208}
This commit is contained in:
terelius
2017-03-13 05:24:05 -07:00
committed by Commit bot
parent 39e1289e64
commit 53dc23c28f
2 changed files with 208 additions and 186 deletions

View File

@ -140,11 +140,6 @@ class EventLogAnalyzer {
std::string GetStreamName(StreamId) const;
void FillAudioEncoderTimeSeries(
Plot* plot,
rtc::FunctionView<rtc::Optional<float>(
const AudioNetworkAdaptationEvent& ana_event)> get_y) const;
const ParsedRtcEventLog& parsed_log_;
// A list of SSRCs we are interested in analysing.