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
1 file changed
tree: e8a46c7a045113f3ebc7d6f9901f6b0d678ce811
  1. Android.mk
  2. hal/
  3. legacy/
  4. post_proc/
  5. visualizer/
  6. voice_processing/