audio: hal: check routing after stop_output_stream

In case of voip playback during the music playback through speaker, the
music will be switched to handset because it is the primary output of
the voip. Once the voip playback has finished, the music playback should
be switched back to speaker if the music is still being played.

Bug: 80404632
Test: manual audio test
Change-Id: I91916c0913da5137d04433d4d69506bda030affa
1 file changed
tree: 11958d27ebe94c2ca60cb6a205f44c9e88c2ba9f
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk