- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
58 lines
1.5 KiB
Java
58 lines
1.5 KiB
Java
package com.mbridge.msdk.playercommon.exoplayer2;
|
|
|
|
import com.mbridge.msdk.playercommon.exoplayer2.PlayerMessage;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.source.SampleStream;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.util.MediaClock;
|
|
import java.io.IOException;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public interface Renderer extends PlayerMessage.Target {
|
|
public static final int STATE_DISABLED = 0;
|
|
public static final int STATE_ENABLED = 1;
|
|
public static final int STATE_STARTED = 2;
|
|
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
public @interface State {
|
|
}
|
|
|
|
void disable();
|
|
|
|
void enable(RendererConfiguration rendererConfiguration, Format[] formatArr, SampleStream sampleStream, long j, boolean z, long j2) throws ExoPlaybackException;
|
|
|
|
RendererCapabilities getCapabilities();
|
|
|
|
MediaClock getMediaClock();
|
|
|
|
int getState();
|
|
|
|
SampleStream getStream();
|
|
|
|
int getTrackType();
|
|
|
|
boolean hasReadStreamToEnd();
|
|
|
|
boolean isCurrentStreamFinal();
|
|
|
|
boolean isEnded();
|
|
|
|
boolean isReady();
|
|
|
|
void maybeThrowStreamError() throws IOException;
|
|
|
|
void render(long j, long j2) throws ExoPlaybackException;
|
|
|
|
void replaceStream(Format[] formatArr, SampleStream sampleStream, long j) throws ExoPlaybackException;
|
|
|
|
void resetPosition(long j) throws ExoPlaybackException;
|
|
|
|
void setCurrentStreamFinal();
|
|
|
|
void setIndex(int i);
|
|
|
|
void start() throws ExoPlaybackException;
|
|
|
|
void stop() throws ExoPlaybackException;
|
|
}
|