hal: select speaker mic for voice communication

- Current implementation selects handset mic for voice
  communication in speaker mode
- Check if the primary output (rx path) is active on
  speaker and select speaker mic during input device
  selection
- If the tx path is started first, ensure that tx device
  is updated while starting the rx path.

Bug: 8325112
Change-Id: I1c556c0c9c92e599c8a1f68575b26ecdad155e7e
Signed-off-by: Iliyan Malchev <malchev@google.com>
1 file changed
tree: 44161612e82f2cd937ea55d43b1c692618a3757f
  1. hal/
  2. legacy/
  3. voice_processing/
  4. Android.mk