commit | d0641b0d5ac82175e8f73857039849853584329d | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Mar 03 17:19:37 2023 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Mon Mar 06 15:44:05 2023 -0800 |
tree | f04f9b7bc794b48b799ddc1ec14cfda8453ef4c6 | |
parent | 47a31d9393d2d8006b9cb9cf6ec42d08ad806994 [diff] |
audio: Add IStreamCommon.prepareToClose method This method is needed to implement HAL modules that are proxies for other subsystems, for example the "bluetooth" and "r_submix" modules. This method replaces string parameters "exiting=1" and "closing=true" which the framework sends to streams prior to closing them in order to unblock the I/O thread of the stream. Bug: 270731693 Test: atest VtsHalAudioCoreTargetTest Change-Id: I3d13fe34535ab853c9f8237a08c31cdafadbb390