Less dynamic memory allocs on RT thread in MediaStreamWebAudioSource
Reduce the frequency of dynamic memory allocation in blink::MediaStreamWebAudioSource::ProvideInput() which runs on a real-time audio thread. With the fix it's one-off allocation, rather than on each call. Bug: 1137778 Change-Id: Ibd33bc3fc8715c1cd9f49033476b97138fbfa027 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2471397 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by:Guido Urdaneta <guidou@chromium.org> Auto-Submit: Olga Sharonova <olka@chromium.org> Cr-Commit-Position: refs/heads/master@{#818466}
Showing
Please register or sign in to comment