hal: Fix sidetone sequence during voice call

When sidetone is enabled during voice call, the RX and TX path mixer
controls are issued back to back, this causes the codec path to be
enabled from TX to RX as the internal loopback for sidetone exists. Due
to enabling this path, pop noise is observed on headphones. This issue
is fixed by treating sidetone as special case and changing the enable
and disable sequence of sidetone mixer controls.

Based on CAF commit : I7aea55af963cf939286e5b349ff25fd783314679

BUG=23135950

Change-Id: Ib5759e08d9b5948a76545b032d882231410cfa2a
4 files changed
tree: 503be88d17a95f59b1bef8a31b0c001301a01be5
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk