Fix NetEq minimum and maximum delay always reset on acm creation.

Bug: webrtc:10305
Change-Id: Iecc55c3b4bb8416e2fd0cf26532b43dcd70a7cca
Reviewed-on: https://webrtc-review.googlesource.com/c/122280
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Ruslan Burakov <kuddai@google.com>
Cr-Commit-Position: refs/heads/master@{#26771}
This commit is contained in:
Ruslan Burakov
2019-02-20 13:41:59 +01:00
committed by Commit Bot
parent 8073db6d89
commit b35baccd6f
4 changed files with 7 additions and 6 deletions

View File

@ -115,7 +115,7 @@ class NetEq {
int sample_rate_hz = 16000; // Initial value. Will change with input data.
bool enable_post_decode_vad = false;
size_t max_packets_in_buffer = 50;
int max_delay_ms = 2000;
int max_delay_ms = 0;
int min_delay_ms = 0;
bool enable_fast_accelerate = false;
bool enable_muted_state = false;