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
1 file changed
tree: 9a9ae1220c15d4f7c83d1043c0e70b6441904bd3
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk