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

After this change if a sample rate is requested that is not supported by the available encoders and enableFallback is true, DefaultEncoderFactory will fall back to the encoder with the closest matching sample rate. In the case when an encoding profile is included in requestedAudioEncoderSettings, an encoder matching that profile will continue to be preferenced. PiperOrigin-RevId: 708295869