commit | a41ff5134d395ca6e0b99f57600c9b08929d7d0c | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Mon Mar 25 16:04:27 2024 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Mon Mar 25 16:04:27 2024 +0000 |
tree | ef21de30533216dc04797ca0980fc29771526c6c | |
parent | b9591926900a0ed223271c225c27ce814d5108dd [diff] |
audio: Implement blocking in remote submix when there is no sink The HIDL implementation blocked for the audio buffer duration when the output side of the remote submix pipe does not have the sink connected. This behavior was accidentally removed when fixing b/327220024. Also, limit the amount of the debug messages displayed when the sink is shutdown to avoid spamming the syslog. Bug: 328347445 Test: repro steps from the bug Test: atest VtsHalAudioCoreTargetTest Test: atest --test-filter=".*AudioPlaybackCaptureTest.*" CtsMediaAudioTestCases (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6507376fb940198e8c39ad6d5345d132b1dd7219) Merged-In: Ia66cb7b4567d42a41bf4715b7d725d36510ac50c Change-Id: Ia66cb7b4567d42a41bf4715b7d725d36510ac50c