mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
105 lines
3.1 KiB
Java
105 lines
3.1 KiB
Java
package androidx.media3.exoplayer;
|
|
|
|
import androidx.media3.common.Format;
|
|
import androidx.media3.exoplayer.PlayerMessage;
|
|
import androidx.media3.exoplayer.analytics.PlayerId;
|
|
import androidx.media3.exoplayer.source.SampleStream;
|
|
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 Renderer extends PlayerMessage.Target {
|
|
public static final int MSG_CUSTOM_BASE = 10000;
|
|
public static final int MSG_SET_AUDIO_ATTRIBUTES = 3;
|
|
public static final int MSG_SET_AUDIO_SESSION_ID = 10;
|
|
public static final int MSG_SET_AUX_EFFECT_INFO = 6;
|
|
public static final int MSG_SET_CAMERA_MOTION_LISTENER = 8;
|
|
public static final int MSG_SET_CHANGE_FRAME_RATE_STRATEGY = 5;
|
|
public static final int MSG_SET_PREFERRED_AUDIO_DEVICE = 12;
|
|
public static final int MSG_SET_SCALING_MODE = 4;
|
|
public static final int MSG_SET_SKIP_SILENCE_ENABLED = 9;
|
|
public static final int MSG_SET_VIDEO_EFFECTS = 13;
|
|
public static final int MSG_SET_VIDEO_FRAME_METADATA_LISTENER = 7;
|
|
public static final int MSG_SET_VIDEO_OUTPUT = 1;
|
|
public static final int MSG_SET_VIDEO_OUTPUT_RESOLUTION = 14;
|
|
public static final int MSG_SET_VOLUME = 2;
|
|
public static final int MSG_SET_WAKEUP_LISTENER = 11;
|
|
public static final int STATE_DISABLED = 0;
|
|
public static final int STATE_ENABLED = 1;
|
|
public static final int STATE_STARTED = 2;
|
|
|
|
@Target({ElementType.TYPE_USE})
|
|
@Documented
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
/* loaded from: classes2.dex */
|
|
public @interface MessageType {
|
|
}
|
|
|
|
@Target({ElementType.TYPE_USE})
|
|
@Documented
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
/* loaded from: classes2.dex */
|
|
public @interface State {
|
|
}
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface WakeupListener {
|
|
void onSleep();
|
|
|
|
void onWakeup();
|
|
}
|
|
|
|
void disable();
|
|
|
|
void enable(RendererConfiguration rendererConfiguration, Format[] formatArr, SampleStream sampleStream, long j, boolean z, boolean z2, long j2, long j3) throws ExoPlaybackException;
|
|
|
|
RendererCapabilities getCapabilities();
|
|
|
|
MediaClock getMediaClock();
|
|
|
|
String getName();
|
|
|
|
long getReadingPositionUs();
|
|
|
|
int getState();
|
|
|
|
SampleStream getStream();
|
|
|
|
int getTrackType();
|
|
|
|
boolean hasReadStreamToEnd();
|
|
|
|
void init(int i, PlayerId playerId);
|
|
|
|
boolean isCurrentStreamFinal();
|
|
|
|
boolean isEnded();
|
|
|
|
boolean isReady();
|
|
|
|
void maybeThrowStreamError() throws IOException;
|
|
|
|
default void release() {
|
|
}
|
|
|
|
void render(long j, long j2) throws ExoPlaybackException;
|
|
|
|
void replaceStream(Format[] formatArr, SampleStream sampleStream, long j, long j2) throws ExoPlaybackException;
|
|
|
|
void reset();
|
|
|
|
void resetPosition(long j) throws ExoPlaybackException;
|
|
|
|
void setCurrentStreamFinal();
|
|
|
|
default void setPlaybackSpeed(float f, float f2) throws ExoPlaybackException {
|
|
}
|
|
|
|
void start() throws ExoPlaybackException;
|
|
|
|
void stop();
|
|
}
|