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

28 lines
816 B
Java
Raw 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;
/* 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;
}
}