Rabbit-R1/switch port/java/sources/androidx/media3/exoplayer/source/SampleStream.java

40 lines
1.1 KiB
Java
Raw Permalink Normal View History

2024-05-21 16:08:36 -05:00
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);
}