commit | fb00fc77f59ed5ebec4d38bac666e6521b6c1de0 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu May 25 18:17:12 2017 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri May 26 18:34:13 2017 -0700 |
tree | cf7fd5f373a5a8681d7fe4ee151367ccf3f8c9f2 | |
parent | d08f04f33b80c37bd3889f461846d59f70e726c7 [diff] |
aaudio: fix device switch detection in legacy path Implement device switch detection on legacy path (AudioTrack and AudioRecord) based on audio routing callbacks forcing the stream state to disconnected. Bug: 33355262 Bug: 62090113 Test: tested with write_sine and input_monitor command line tools. Change-Id: I9e0421fee233964b1bf318acb640569196a00f13