hal: Ensure that stream is not started during Sub system restart.
-out_write is suppose to simulate the write to hardware and drop the data during SSR (non compress offload usecases), and the time taken up by out_write should be equal to time required to render the same data. -Current implementation ends up calling start_output_stream, where as part of error handling out_write sleeps for 50ms. - Hence the total time taken by out_write during SSR exceeds the total buffer duration by almost 2 times, this results in incorrect update of timeStamp values in the player. -Ensure that out_write/in_read returns without starting a stream during SSR. -During SSR, return correct number of frames written to HAL in case of non compress offload sessions. Change-Id: Ib0d59b91af053da70a2eb844841d10b39c74bf18 CRs-Fixed: 968276
Loading
Please register or sign in to comment