aboutsummaryrefslogtreecommitdiff
path: root/modules/audio_coding
diff options
context:
space:
mode:
authorIvo Creusen <ivoc@webrtc.org>2020-07-06 16:58:39 +0200
committerCommit Bot <commit-bot@chromium.org>2020-07-07 13:07:26 +0000
commit9030994e91fb6adbc029b1eff9fb773517b737df (patch)
treeee93a1b365b3c98fe03f1b49887bb9f388576cd0 /modules/audio_coding
parente7c015e11258b167f6b92e4d369d0c6204c8d735 (diff)
downloadwebrtc-9030994e91fb6adbc029b1eff9fb773517b737df.tar.gz
Update default max nr of packets to 200.
In production code, the maximum number of packets is by default set to 200, so we should adopt the same behavior in tests. Bug: None Change-Id: I415790b7cd9fb170ea7ac94685cc6bbe14efac4d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/178744 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Ivo Creusen <ivoc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31646}
Diffstat (limited to 'modules/audio_coding')
-rw-r--r--modules/audio_coding/neteq/tools/neteq_test_factory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/audio_coding/neteq/tools/neteq_test_factory.h b/modules/audio_coding/neteq/tools/neteq_test_factory.h
index b8ba8cc537..fdfe650b94 100644
--- a/modules/audio_coding/neteq/tools/neteq_test_factory.h
+++ b/modules/audio_coding/neteq/tools/neteq_test_factory.h
@@ -121,7 +121,7 @@ class NetEqTestFactory {
// Prints concealment events.
bool concealment_events = false;
// Maximum allowed number of packets in the buffer.
- static constexpr int default_max_nr_packets_in_buffer() { return 50; }
+ static constexpr int default_max_nr_packets_in_buffer() { return 200; }
int max_nr_packets_in_buffer = default_max_nr_packets_in_buffer();
// Number of dummy packets to put in the packet buffer at the start of the
// simulation.