053bf83f58
Move the logic to read from an AudioRecord and handle all corner cases for PTS. This simplifies AudioCapture. PR #5102 <https://github.com/Genymobile/scrcpy/pull/5102>