Rabbit-R1/original r1/java/sources/androidx/media3/exoplayer/trackselection/FixedTrackSelection.java
2024-05-21 17:08:36 -04:00

45 lines
1.4 KiB
Java

package androidx.media3.exoplayer.trackselection;
import androidx.media3.common.TrackGroup;
import androidx.media3.exoplayer.source.chunk.MediaChunk;
import androidx.media3.exoplayer.source.chunk.MediaChunkIterator;
import java.util.List;
/* loaded from: classes2.dex */
public final class FixedTrackSelection extends BaseTrackSelection {
private final Object data;
private final int reason;
@Override // androidx.media3.exoplayer.trackselection.ExoTrackSelection
public int getSelectedIndex() {
return 0;
}
@Override // androidx.media3.exoplayer.trackselection.ExoTrackSelection
public Object getSelectionData() {
return this.data;
}
@Override // androidx.media3.exoplayer.trackselection.ExoTrackSelection
public int getSelectionReason() {
return this.reason;
}
@Override // androidx.media3.exoplayer.trackselection.ExoTrackSelection
public void updateSelectedTrack(long j, long j2, long j3, List<? extends MediaChunk> list, MediaChunkIterator[] mediaChunkIteratorArr) {
}
public FixedTrackSelection(TrackGroup trackGroup, int i) {
this(trackGroup, i, 0);
}
public FixedTrackSelection(TrackGroup trackGroup, int i, int i2) {
this(trackGroup, i, i2, 0, null);
}
public FixedTrackSelection(TrackGroup trackGroup, int i, int i2, int i3, Object obj) {
super(trackGroup, new int[]{i}, i2);
this.reason = i3;
this.data = obj;
}
}