commit | 04643599078ac0501b64493e791320277ac05a47 | [log] [tgz] |
---|---|---|
author | Ravi Kumar Alamanda <ralama@codeaurora.org> | Thu Sep 24 19:17:26 2015 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Fri Sep 25 16:58:31 2015 +0000 |
tree | e8a46c7a045113f3ebc7d6f9901f6b0d678ce811 | |
parent | 533bb72620933eddd232d41e171ab70ea0807e34 [diff] |
hal: Fix EC not working with some VoIP app Echo reference must be before starting input stream. But in some cases, input stream is started first and then the output stream. As the primary output is not started, echo reference is set based on AUDIO_DEVICE_NONE. Fix by using primary output's device even if it is in standby. Bug: 23720819 Change-Id: I1cf2b93ea52219489964e09ee671ef008e81255c