commit | 0d3637a0b05a870c7354b080a5fd9a5e25d2ed1f | [log] [tgz] |
---|---|---|
author | vivek mehta <mvivek@codeaurora.org> | Sun Jul 24 09:32:02 2016 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Jul 25 17:31:15 2016 -0700 |
tree | 9a9ae1220c15d4f7c83d1043c0e70b6441904bd3 | |
parent | 3190ba36f51f7f4fcf073376e1a9b62f3e4460c4 [diff] |
hal: audio: on routing command check first voice usecase - when routing command is received since primary output selects device for non voice usecase first and then selects device for voice usecase this adds one unnecessary device switch and additional latency in case of voice call setup latency. - modify device selection logic by starting with voice usecase first if audio mode is in call. Bug: 30270281 Change-Id: I2b9bb383b525793158dd6f8d2402fa73ab4c53ef