platform_hardware_interfaces/audio/core
Kevin Rocard eb2b0093cf Allow getCapturePosition to return 0 frames for unprepared streams
For device supporting getCapturePosition,
VTS only allowed unprepared stream to return INVALID_STATE.
Now also allow for the stream to return 0 frames similarly to the other
non started states.

Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target
Bug: 110367728
Cherry-piked from: d01dc3edac9e92981e7ae419d0e7622f753acf94
Merged-In: Ibdf8df8cb8809e98c40a50035371df6893fe4da4
Change-Id: Ibdf8df8cb8809e98c40a50035371df6893fe4da4
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit 6c9c6e62c1)
2018-08-29 10:29:07 -07:00
..
2.0 VTS tests should be static 2018-05-16 18:04:57 -07:00
4.0 Allow getCapturePosition to return 0 frames for unprepared streams 2018-08-29 10:29:07 -07:00
all-versions Merge changes I29bbf6bf,Ib0b03fb6 into pi-dev 2018-05-05 00:18:23 +00:00