Keeps the AAudio stream of a dropped playback stream open for a short while, so the next
playback stream with the same parameters reuses it instead of opening a new one.
How long a dropped playback streamβs AAudio stream stays open, waiting for reuse, before it is
closed. Long enough to span the STOP, RELEASE, PREPARE and START of a guest XRUN recovery, which
take milliseconds, and short enough that the host stops playing soon after the guest really
stops.
Asks the host whether the guest may capture audio. Implementations must not block: they run
on the audio executor. One delegate is shared by all capture streams of a card, so streams
waiting at the same time share one request and all receive its answer.
Closes the parked playback stream once it has been parked for longer than the timeout. Exits
when nothing is parked, or when the PlaybackParking is gone.