hal: Fix for Audio Route issue when sound path changes

- if you make an outgoing call as mp3 playback is runnign with headset,
  Right side of headset is not functional when keep changing sound path
  from headset to speaker
- Fix the issue by separating loop related of disable/enable_snd_device

Bug: 11232052
Change-Id: Id02a6d7221c77cf4003d97749d75a062d8575d02
1 file changed
tree: 2b4f350277e04e011f28e46e1820dc7d87b05f4e
  1. hal/
  2. legacy/
  3. visualizer/
  4. voice_processing/
  5. Android.mk