commit | 7e6ba2e626c75373cdd608ea8f83e28eabf2f0c9 | [log] [tgz] |
---|---|---|
author | Vidyakumar Athota <vathota@codeaurora.org> | Tue Mar 31 21:53:21 2015 -0700 |
committer | Ramjee Singh <ramjee@codeaurora.org> | Tue May 05 11:20:58 2015 +0530 |
tree | 65c2ce674047258cd29a858cd18af0635d4d4fc2 | |
parent | 3d2ea030b6e555aabbb26ef31d41c6e13e13f721 [diff] |
hal: update input source type during open input stream Currently input stream source type is updated in in_set_parameters(). Some of the effects like AEC are applied based on input source type. If effects API is called before in_set_parameters() then that effect does not apply. Fix this issue by updating the source type in adev_open_input_stream() instead of in_set_parameters(). Change-Id: Iff0670264e156840c40f1f15cfc93fd5b2506e0d