audio: Do not allow Compress offload mode for AV streaming content

Add system property check to use compress offload mode or not for
audio+video streaming content.

Change-Id: I10aa22995d2d1320b41f58ff9bb2303787c9d40d
CRs-fixed: 587600
audio: Add support for DOLBY DD+ decoding

- Add DOLBY AC3/EAC3 format enums
- Use offload profile for DOLBY decoding
  regardless of duration

Change-Id: I2c9738fa34635304aeca8fb529dbe8c2aa5e528d
audio: Add support for compressed VoIP

Add changes needed to enable VoIP calls using compressed
audio formats.

Change-Id: I7ebdfa1c2cc9b97666c7d8392b5e6ebd9b477184
AudioPolicyManagerBase : MUTE_TIME_MS reduced to 500ms

 - Some streams are muted while the audio path
   is switched for different device switch like
   BT, Headset, AOS and HDMI etc. Audio drop is
   observed for more than 3-4 secs. So tuning
   this macro for better results.

Change-Id: I8bb0b6f5eb5e526b755fce97f31a3f8f6dd22064
CRs-fixed: 572654
libhardware_legacy: Clean up all the audio ifdefs

 * Remove duplicates and differentiate between legacy targets

Change-Id: Iad22875513846b16fa1e5d602d3fd4289d5fbde2