audio: Add support for offloading MPEG2 and WMA

Change-Id: I75afa455537cc8aaecd5d5a36ffda9e62785c723
audio: Always offload audio for AV

Change-Id: I88ba026c9733cdd7e31a5771f3d82bfc1cf37597
Revert "audio: Always offload audio for AV"

 * Framework offload path is too racy and the root issue this was
   addressing is resolved now.

This reverts commit 6f03c6068a26636f68038402a84d371f64d54ddf.

Change-Id: I35f9a5b2a613bdff056630dffeecd7117657cc85
hal: Add support for multiple instances of offload playback

Add support for multiple offload playback instances

Change-Id: I9d35b68fc8ca27c4eeb3976eb508b06c5ad3ca8f
hal: configure HDMI channels based on sink capability.

- configure output HDMI channel count based on sink
  capability when audio.use.hdmi.sink.cap is set to true

CRs-Fixed: 656308
Change-Id: I3dd3226054c68a69a2c29f8bb2f9c27e429ad2dc
hal: SSR support for compress offload

- add support for time stamp error propagation
  to frameworks on compress driver error

- close active compress session on SSR

Change-Id: I9cbd3a6c271097b81c9b79e71573fda8d78c7dbf
hal: SSR support for compress offload

- reject offload request based on sound
  card state

Change-Id: I38256ce6163f948a9e9c14cb895de3f71529a0e9
Merge remote-tracking branch 'upstream/cm-11.0' into HEAD