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
2 files changed