DescriptionReduce the runtime of some ACM tests in modules_tests
By reducing the length of the audio input, the total runtime of
$ out/Debug/modules_tests --gtest_filter=AudioCodingModuleTest.*
is reduced by more than 10x, when run single-threaded.
The PCMFile helper class is extended with a FastForward method (to
skip initial silence in the test files) and a limiter on how much to
read.
BUG=webrtc:2463
R=ivoc@webrtc.org
Committed: https://crrev.com/4d68208a2089bfb7c9bf87f06722033a9e82a2a3
Cr-Commit-Position: refs/heads/master@{#10973}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Taking care of review comments #Patch Set 3 : Fixing win64 build #Messages
Total messages: 17 (7 generated)
|