audio: support more channel condition for stereo recording

- To select correct sound device for recording with
AUDIO_SOURCE_VOICE_RECOGNITION and AUDIO_SOURCE_UNPROCESSED, adding more
conditions to determine sound device.

Bug: 153704905
Bug: 153854533
Test: solotester for unprocessed with ch mask 2,3,4
Test: solotester for voice_recognition with ch mask 2,3,4
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I87ffaacd54ca2a5a5b9918948d73a9583e74b0dd
1 file changed
tree: d02dd9b47a3c0c3f5aad4f32f004c64f47dca9dc
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk
  7. OWNERS