commit | afe54d8958b919ea2aa75c8f7d03d850656d6894 | [log] [tgz] |
---|---|---|
author | Haynes Mathew George <hgeorge@codeaurora.org> | Wed Sep 21 14:39:19 2016 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Oct 14 00:44:48 2016 -0700 |
tree | 6c25b79ca50d5ae3bf504b3a0a053a6ce60c8345 | |
parent | 05e9ad612272ae54ed25de17b8e63ab487d25ca7 [diff] |
hal: fix noise heard in single song repeat mode Check state of the offload stream before calling flush on the compress driver. It is possible that AF may call flush from it's threadLoop without any active tracks. It does so to clear state maintained within AudioStreamOut, an intermediate object between AF and HAL. Change-Id: Icf6b7484f163e46a8ddf3efbca1f780affd76ada CRs-Fixed: 1055025