package com.google.android.exoplayer2.source; import com.google.android.exoplayer2.FormatHolder; import com.google.android.exoplayer2.decoder.DecoderInputBuffer; 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); }