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

27 lines
816 B
Java

package androidx.media3.exoplayer.source;
import androidx.media3.decoder.DecoderInputBuffer;
import androidx.media3.exoplayer.FormatHolder;
/* loaded from: classes2.dex */
public final class EmptySampleStream implements SampleStream {
@Override // androidx.media3.exoplayer.source.SampleStream
public boolean isReady() {
return true;
}
@Override // androidx.media3.exoplayer.source.SampleStream
public void maybeThrowError() {
}
@Override // androidx.media3.exoplayer.source.SampleStream
public int skipData(long j) {
return 0;
}
@Override // androidx.media3.exoplayer.source.SampleStream
public int readData(FormatHolder formatHolder, DecoderInputBuffer decoderInputBuffer, int i) {
decoderInputBuffer.setFlags(4);
return -4;
}
}