mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
45 lines
1.4 KiB
Java
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;
|
|
}
|
|
}
|