1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-25 12:27:38 +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,
@Nullable final List<AudioStream> 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());
}