commit | 5c39821723bed0985be73b947d0b5b049e243832 | [log] [tgz] |
---|---|---|
author | Vidyakumar Athota <vathota@codeaurora.org> | Tue Mar 31 21:53:21 2015 -0700 |
committer | Vidyakumar Athota <vathota@codeaurora.org> | Thu Apr 09 17:32:17 2015 -0700 |
tree | 1c9f5b83fa2886135aa657f9ea544c1c3f94c833 | |
parent | 16b2dd39c49de253e5d9d774ca44ce8ebe44d903 [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