Make use of new APM statistics interface.
Updates GetStats() function in AudioSendStream to use the new GetStatistics function in APM instead of the corresponding VoE functions. BUG=webrtc:6525 Review-Url: https://codereview.webrtc.org/2463813002 Cr-Commit-Position: refs/heads/master@{#15065}
This commit is contained in:
@ -486,10 +486,6 @@ class AudioProcessing {
|
||||
Set(other.instant, other.average, other.maximum, other.minimum);
|
||||
}
|
||||
void Set(float instant, float average, float maximum, float minimum) {
|
||||
RTC_DCHECK_LE(instant, maximum);
|
||||
RTC_DCHECK_GE(instant, minimum);
|
||||
RTC_DCHECK_LE(average, maximum);
|
||||
RTC_DCHECK_GE(average, minimum);
|
||||
instant_ = instant;
|
||||
average_ = average;
|
||||
maximum_ = maximum;
|
||||
|
||||
Reference in New Issue
Block a user