qcom/audio/hal: Fix the routing logic to route streams independently

- Current implementation assumes that the output devices for all
  the output streams and voice call will be same. So it updates
  the devices on all the output streams when out_set_parameters()
  is called on any stream.
- Update the routing logic to support all the streams independently
  based on the devices set by audio policy manager on each stream.
- However, on this target there is a limitation that earpiece,
  speaker, and headset devices cannot be enabled concurrently as
  they share the same backend. Updated routing logic takes care of
  this limitation.

Bug: 8239898
Change-Id: I3091be6894210c77c479b872cec39d821d10bd90
2 files changed
tree: 6fd0a882951c48ec8d21b63db5b5442b11748376
  1. hal/
  2. legacy/
  3. Android.mk