Rabbit-R1/switch port/java/sources/androidx/media3/exoplayer/source/SampleStream.java
2024-05-21 17:08:36 -04:00

39 lines
1.1 KiB
Java

package androidx.media3.exoplayer.source;
import androidx.media3.decoder.DecoderInputBuffer;
import androidx.media3.exoplayer.FormatHolder;
import java.io.IOException;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/* loaded from: classes2.dex */
public interface SampleStream {
public static final int FLAG_OMIT_SAMPLE_DATA = 4;
public static final int FLAG_PEEK = 1;
public static final int FLAG_REQUIRE_FORMAT = 2;
@Target({ElementType.TYPE_USE})
@Documented
@Retention(RetentionPolicy.SOURCE)
/* loaded from: classes2.dex */
public @interface ReadDataResult {
}
@Target({ElementType.TYPE_USE})
@Documented
@Retention(RetentionPolicy.SOURCE)
/* loaded from: classes2.dex */
public @interface ReadFlags {
}
boolean isReady();
void maybeThrowError() throws IOException;
int readData(FormatHolder formatHolder, DecoderInputBuffer decoderInputBuffer, int i);
int skipData(long j);
}