hal: use 0 as default return value for out_get_render_position

- Initialize default return value of out_get_render_position to
  0(NO_ERROR).
- Default value(NO_ERROR) will be used if timestamp query happens
  before compress driver is opened. Return 0(NO_ERROR) in this case
  to avoid playback failures.

Change-Id: I0f8b2e0f19cfe736a19934ddef18016599ec582c
CRs-Fixed: 756508
hal: Upstream updates for samplerate/bitwidth

 * Clean up sample rate choice code
 * Choose correct rates for specific devices when appropriate
 * Kill logspam

Change-Id: I39ea6801834fe8e3cb6b0a40ba6ff649c5ab1b1d
hal: Add support for listen playback concurrency

Add support for concurrency handling between number of
listen capture session and playback activity.

Change-Id: I4a0656f240c62f2cc6266a714a96fdcdc13ae9d8
post_proc: Fix bassboost/virtualizer not disabled on speaker

When output is unintended device, there's no need to query enable_flag
before setting effect to disabled state. There's possiblity that
enable_flag is 0 as initialized value, which hinder effects from being
disabled.

Change-Id: Ib90c0ad0982dc8274129bb1bed7861e11670fbdb
hal: Clean up compilation warnings

Change-Id: I3857f565dd7a2f3ce3a1cbb783eb3d67fb024e3e
hal: Invert standard build flags

 * Always include these unless explicitly negated

Change-Id: I3931ef089dddcd9ac9f61d8b7e870cf916a4e47d
hal: Kill useless logspam

Change-Id: I540e3e22670c192d440697c0ae284225427711e0
hal: Remove samplerate checks for speaker

 * This is causing mass chaos, and is not necessary with the floating
   point mixer.

Change-Id: I60285e8b44566b69deb5113772a982c875d4f727
hal: Be specific about supported offload formats

 * We need to look at the subformats here since certain combinations
   are not valid.
 * Fixes AAC offload with Tidal.

Change-Id: Ice41aeb7e011a4421e52b02a6e53b6bc36f0b9c6