hal: add gapless offload playback control

-Set the property-vendor.audio.offload.gapless.enabled to true to enable
 gapless playback by default.
-Set mixer control to the driver to decide if gapless playback needs
 to be used or not
-If gapless playback is not enabled then partial drain from HAL is
 treated as full drain.

Bug: 157046086
Test: Test with Play Music
Change-Id: If010b7f730cc70dd55c2d4ff77ac272e60f3c4e2
Signed-off-by: Robert Lee <lerobert@google.com>
1 file changed
tree: ff4aeaddaf4bc796b1422f76ed22cebcc729bddd
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk
  7. OWNERS