pre-kitkat audio policy blobs re-activated.

Change-Id: Idfcb03d0a4aa0a099bf5a17b7bf592ab402e3255
NuPlayer : Fix wrong time stamp update for offload playback

- Seekbar is updated continuously post offload audio tear down
- Pause start time is reset during session tear down causing the issue
- Fix is not to reset pause start time if clip is offload and in pause
  state

Change-Id: I4c7632dab1dddc73781e13cbf93b52afb4166c34
libstagefright: Ensure cache prefetch in underrun

NuCachedSource2::onFetch() will stop prefetching
if the total cache size exceeds highwater mark,
rather than considering the size of unaccessed data
for the calculation. If AwesomePlayer pauses due to
underrun, and NuCachedSource2 stop fetching, this
can lead to indefinite pause as AwesomePlayer will
use the unaccessed data for calculating buffered
duration while NuCachedSource2 uses the total cached
size

Added change to ensure cache prefetch in underrun so
that playback does not pause indefinitely

CRs-Fixed: 760796
Change-Id: I8124e04b18a6e200b59c9cf7d2a912a43e147db1
audio_policy: Fix for overwrite of ULL flags on record concurrency

- Touch tones are playing on Deep buffer path when
  record is in progress when record concurrency enabled

- ULL flags are over written on getoutput API when
  record session is active

- Add check for non ULL output request instead ULL output
  flags while forcing deep buffer path with record concurrency

Change-Id: Ic463cea0f9ec1d47b548e6e387f484f221ee92f7
DO NOT MERGE - NuPlayer: invalid anchor time when render is flushed.

Also rememeber the pause time in NuPlayerDriver.

Bug: 18436336
Change-Id: If09f680a0d0f9137bd55c5f94201eb3aa783278a
DO NOT MERGE - NuPlayer: open audio sink in offload mode when resuming from timeout teardown.

Also always recheck if a new stream can do offload.

Bug: 18154425
Change-Id: I121877834bd963eeeba91a2b951fd30d5dc36a8b
pre kitkat audio legacy poliy fix for hotword (ok google)

Change-Id: I5bb90fb90f373461a98609226a5cea50ac5266e9
nuplayer: Fix build

 * Fix call to canOffloadStream. Wrong patch version got merged.

Change-Id: I568b9182b70797a8545003880cb726fa5cd09a96
nuplayer: Always copy duration to output format message

 * In the case of PCM offload, we need to make sure the format is copied
   because we might not have it here.

Change-Id: Icd4ae5ceff66b24e83fe6a2b9a07ec8934590678
Merge pull request #3 from CyanogenMod/cm-12.0

big update