Reduces sensitivity in audio-glitch detector for iOS

Bug: b/38018041
Change-Id: I8490a8ab51db14d3f4f42e128e47303e3710f63f
Reviewed-on: https://chromium-review.googlesource.com/536755
Commit-Queue: Henrik Andreasson <henrika@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18629}
This commit is contained in:
henrika
2017-06-16 13:22:13 +02:00
committed by Commit Bot
parent bf5a2fc11b
commit af35f833b7
5 changed files with 113 additions and 37 deletions

View File

@ -43,7 +43,7 @@ const double kRTCAudioSessionLowComplexitySampleRate = 16000.0;
// buffers used by WebRTC. It is beneficial for the performance if the native
// size is as an even multiple of 10ms as possible since it results in "clean"
// callback sequence without bursts of callbacks back to back.
const double kRTCAudioSessionHighPerformanceIOBufferDuration = 0.01;
const double kRTCAudioSessionHighPerformanceIOBufferDuration = 0.02;
// Use a larger buffer size on devices with only one core (e.g. iPhone 4).
// It will result in a lower CPU consumption at the cost of a larger latency.