alsa_sound: workround: to fix close mic

N/A

Change-Id: Ia23d1e3d2781f75cfa1f950bf85ff23c443374a5
Signed-off-by: huangqiwu <huangqiwu@xiaomi.com>
alsa_sound: bring back old audio and add support config mic noice suppression

N/A

Change-Id: Ib52620ec336a84b472b97536e4354a1746eeacc3
Signed-off-by: huangqiwu <huangqiwu@xiaomi.com>
alsa_sound: Clean-up of previous Resampler for A2DP device

-During Playback, While switching from AOA USB Device to BT
 Headset, silence heard on BT headset with intermittent
 down-sampled sound.
-For AOA USB, a Resampler is using and its not getting free
 when switching to BT headset, thus Resampler is also using
 for A2DP device that is leading to down-sampled sound and
 silence.
-Releasing resampler during switchExtOut for A2DP case.

Change-Id: I8879be11886ebe482a87f8b7191582a755d7c3d7
CRs-Fixed: 568306
 audio: Increase the period size for USB audio

 -During USB audio playback, breaks are heard .This is
  primarily due to overruns of USB buffer from the audio
  HAL.
 -By increasing the period size of USB buffer we are
  avoiding overruns .

  CRs-Fixed: 574897

Change-Id: I78fb1bd5d7201fe789a2fcc5090eb1555af408ea