audio: Tweaks to hifi record

Allow 24 bit packed hifi record
Add missing hw_interface entries for USB
Add helper function to decide when/if hifi recording is allowed

Test: test playback and capture with and without USB headset

Change-Id: Idd5bcfc7b9970fc6227dc76576ad973fbf840448
5 files changed
tree: 3019590d0f893d05195d25af3c54d11955e7dd2d
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk