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
Loading
Please register or sign in to comment