audio: cleanup adev_open_input_stream
This is a squash of the changes made in adev_open_input_stream. Simplify logic a bit and also fix bug where config for 24 bit recording was not being set correctly. Change-Id: I48cbcb3a3775aa222bc8387e02795d4e4d234057 Refactor input selection for source AUDIO_SOURCE_VOICE_COMMUNICATION Refactor selection logic to select default input if COMPRESS_VOIP feature is enabled. If stream config allows usb hifi record, proceed to select usecase without checking for config again Change-Id: Idb7fc78c6d53578713a79490309d96d9d7980977 CRs-Fixed: 2133170 Change-Id: I48cbcb3a3775aa222bc8387e02795d4e4d234057
Loading