mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 08:32:38 -06:00
53 lines
1.7 KiB
Java
53 lines
1.7 KiB
Java
package androidx.media3.exoplayer.source;
|
|
|
|
import androidx.media3.common.StreamKey;
|
|
import androidx.media3.exoplayer.SeekParameters;
|
|
import androidx.media3.exoplayer.source.SequenceableLoader;
|
|
import androidx.media3.exoplayer.trackselection.ExoTrackSelection;
|
|
import java.io.IOException;
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface MediaPeriod extends SequenceableLoader {
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface Callback extends SequenceableLoader.Callback<MediaPeriod> {
|
|
void onPrepared(MediaPeriod mediaPeriod);
|
|
}
|
|
|
|
@Override // androidx.media3.exoplayer.source.SequenceableLoader
|
|
boolean continueLoading(long j);
|
|
|
|
void discardBuffer(long j, boolean z);
|
|
|
|
long getAdjustedSeekPositionUs(long j, SeekParameters seekParameters);
|
|
|
|
@Override // androidx.media3.exoplayer.source.SequenceableLoader
|
|
long getBufferedPositionUs();
|
|
|
|
@Override // androidx.media3.exoplayer.source.SequenceableLoader
|
|
long getNextLoadPositionUs();
|
|
|
|
TrackGroupArray getTrackGroups();
|
|
|
|
@Override // androidx.media3.exoplayer.source.SequenceableLoader
|
|
boolean isLoading();
|
|
|
|
void maybeThrowPrepareError() throws IOException;
|
|
|
|
void prepare(Callback callback, long j);
|
|
|
|
long readDiscontinuity();
|
|
|
|
@Override // androidx.media3.exoplayer.source.SequenceableLoader
|
|
void reevaluateBuffer(long j);
|
|
|
|
long seekToUs(long j);
|
|
|
|
long selectTracks(ExoTrackSelection[] exoTrackSelectionArr, boolean[] zArr, SampleStream[] sampleStreamArr, boolean[] zArr2, long j);
|
|
|
|
default List<StreamKey> getStreamKeys(List<ExoTrackSelection> list) {
|
|
return Collections.emptyList();
|
|
}
|
|
}
|