commit | e4b4971a9cf87125b99dae9df8075e66c0fd6559 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Wed Aug 21 11:30:21 2024 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Dec 26 14:03:28 2024 -0800 |
tree | 5c65fd22b8e5c2472fe32f3aeebd1f22b61a3d32 | |
parent | 01df7e8c2dc2b668674481197390d3287687275e [diff] |
audio: Implement more accurate timing for the stub stream Stub output stream is like a /dev/null audio device, however for synchronous transfers it must block for the duration of the audio chunk being transferred. Implement more accurate accounting for the blocking time using the same approach as employed by the remote submix stream implementation. Bug: 356719263 Test: atest CtsNativeMediaAAudioTestCases on aosp_cf_x86_64_auto target (cherry picked from https://android-review.googlesource.com/q/commit:10fc96386edfa98fea9c5a2a35146f9a2d1efe31) Merged-In: I137aed397246bcf2b5ef6789aa4d2d27ead64467 Change-Id: I137aed397246bcf2b5ef6789aa4d2d27ead64467