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 remote-tracking branch 'cyanogen/cm-12.0' into cm-12.0