mirror of
https://github.com/androidx/media.git
synced 2025-05-05 06:30:24 +08:00

When estimating the AudioTrack min buffer size, we must use a PCM frame of 1 when doing direct playback (passthrough). The code was passing -1 (C.LENGTH_UNSET). PiperOrigin-RevId: 489238392