1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-09-18 02:34:02 +00:00

Improve comment

This commit is contained in:
Stypox
2022-08-06 11:56:00 +02:00
committed by GitHub
parent d1f3f15478
commit ebd06bdd24

View File

@@ -377,7 +377,7 @@ public final class ListHelper {
static int getMostCompactAudioIndex(@Nullable final MediaFormat format, static int getMostCompactAudioIndex(@Nullable final MediaFormat format,
@Nullable final List<AudioStream> audioStreams) { @Nullable final List<AudioStream> audioStreams) {
return getAudioIndexByHighestRank(format, audioStreams, return getAudioIndexByHighestRank(format, audioStreams,
// The "-" is important -> Compares ascending (first = highest rank) // The "reversed()" is important -> Compares ascending (first = highest rank)
getAudioStreamComparator(AUDIO_FORMAT_EFFICIENCY_RANKING).reversed()); getAudioStreamComparator(AUDIO_FORMAT_EFFICIENCY_RANKING).reversed());
} }