Mac AEC: Only restart the stream on output device change if started
When using APM in Audio Service, the output device for a microphone with native echo cancellation support may be set before the stream has started. Currently, this causes the audio unit to be restarted, even when it shouldn't. This CL avoids that. Bug: 882420, b/115305826 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I6c25e8225f918dd4da2e4e0637e4808e03acf125 Reviewed-on: https://chromium-review.googlesource.com/1243067Reviewed-by:Olga Sharonova <olka@chromium.org> Reviewed-by:
Henrik Grunell <grunell@chromium.org> Commit-Queue: Oskar Sundbom <ossu@chromium.org> Cr-Commit-Position: refs/heads/master@{#594669}
Showing
Please register or sign in to comment