commit | 68eff0530814ab4e0d29580885fec8de0bd37c96 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Apr 10 18:28:41 2020 -0700 |
committer | Eric Laurent <elaurent@google.com> | Wed Apr 15 20:24:42 2020 +0000 |
tree | bf149b7f4be4d769714d18c4559052ec2058f0dc | |
parent | 433ccf7dca6db9ffd774cd10d539ccf9d62e3f46 [diff] |
AAudio AudioStreamLegacy: refine handling of AudioTrack teardown Do not systematically request a stream disconnect upon EVENT_NEW_IAUDIOTRACK received AudioTrack but only if the new audio Track properties have changed in such a way that the initial contract is broken. Bug: 139763500 Test: OboeTester TEST DISCONNECT Test: OboeTester TEST OUTPUT while enabling/disabling Live Caption Change-Id: I3b43275a888e23471fcd1ce20725f5731a77a255