commit | 981f7744968c858838a453f796fc5796ab04bbdb | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed May 03 12:44:26 2017 -0700 |
committer | Eric Laurent <elaurent@google.com> | Wed May 03 12:53:06 2017 -0700 |
tree | 445b15eaa72d3ae4233f2711c36687b1a2995101 | |
parent | 43346aad0191ca95ddec6fadaea0fd70be53f380 [diff] |
usb audio: check proxy_prepare() errors in opne_input_stream() Make sure that open_input_stream() reflects audio parameters modifications done by proxy_prepare() and returns an error with proposed parameters if needed. Alos do not overwrite adev->device_sample_rate when opening an input stream as this is driven by the output stream. Bug: 37949012 Test: audio capture, playback and calls over USB headset. Change-Id: I45fcd895b9a95e7673f2232b4a98c74be0548d0d