4d68208a2089bfb7c9bf87f06722033a9e82a2a3 |
|
10-Dec-2015 |
Henrik Lundin <henrik.lundin@webrtc.org> |
Reduce 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 Review URL: https://codereview.webrtc.org/1513223002 . Cr-Commit-Position: refs/heads/master@{#10973}
/external/webrtc/webrtc/modules/audio_coding/test/PCMFile.h
|