mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

The static method can estimate the number of input frames needed to get a given number of output frames with a given Sonic configuration. This CL is prework to remove the dependency of `SpeedChangingAudioProcessor#getMediaDurationUs()` on non-static output based heuristics and simplify `SpeedChangingAudioProcessor`. PiperOrigin-RevId: 711446999