[AudioOutputRedirector] Handle cases where num_frames is 0
|num_frames| can be 0 when mixer input is not ready to play yet. In this case, all the previous_ended_in_silence_ logic should be bypassed. Bug: b/119133585 Test: bulid and run on device, ensure crashes go away Change-Id: I9a7eb69ecb015dffc9181e94d40d6a8de07d84ba Reviewed-on: https://chromium-review.googlesource.com/c/1324417Reviewed-by:Kenneth MacKay <kmackay@chromium.org> Commit-Queue: Linkun Chen <lkchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#606241}
Showing
Please register or sign in to comment