commit | 7aa0ccbcb6e8d35c894356015c23574619bcf648 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Aug 28 11:12:52 2017 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Aug 28 14:16:19 2017 -0700 |
tree | dc06cec53d749f416621f685f1e8c0ebff7bc509 | |
parent | 7124c1985b535a7862cd8f2706386a2a0ba676b2 [diff] |
audioflinger: fix mmap device selection Preserve initial device selection on mmap streams in order to reuse it when a new client starts on the same stream so that audiopolicy does not use the default route for the new client. Bug: 64981153 Test: verify AAudio playback over MMAP with forced device selection to speaker while headset is connected. Change-Id: I7c117c3c0f8e7ad08f8e63ea804c19ce21808874