package defpackage;

import android.view.SurfaceHolder;
import android.view.SurfaceView;
import androidx.media3.common.AudioAttributes;
import androidx.media3.common.MediaMetadata;
import androidx.media3.common.PlaybackParameters;
import androidx.media3.common.SimpleBasePlayer;
import androidx.media3.common.TrackSelectionParameters;
import androidx.media3.common.util.Size;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class ht8 implements ae9 {
    public final /* synthetic */ int a;
    public final /* synthetic */ SimpleBasePlayer.State b;
    public final /* synthetic */ Object c;

    public /* synthetic */ ht8(SimpleBasePlayer.State state, Object obj, int i) {
        this.a = i;
        this.b = state;
        this.c = obj;
    }

    @Override // defpackage.ae9
    public final Object get() {
        switch (this.a) {
            case 0:
                return SimpleBasePlayer.lambda$setVideoTextureView$22(this.b, (Size) this.c);
            case 1:
                return SimpleBasePlayer.lambda$setPlaylistMetadata$15(this.b, (MediaMetadata) this.c);
            case 2:
                return SimpleBasePlayer.lambda$setVideoSurfaceHolder$20(this.b, (SurfaceHolder) this.c);
            case 3:
                return SimpleBasePlayer.lambda$setVideoSurfaceView$21(this.b, (SurfaceView) this.c);
            case 4:
                return SimpleBasePlayer.lambda$setAudioAttributes$32(this.b, (AudioAttributes) this.c);
            case 5:
                return ((SimpleBasePlayer) this.c).lambda$stop$12(this.b);
            case 6:
                return SimpleBasePlayer.lambda$setPlaybackParameters$11(this.b, (PlaybackParameters) this.c);
            default:
                return SimpleBasePlayer.lambda$setTrackSelectionParameters$14(this.b, (TrackSelectionParameters) this.c);
        }
    }

    public /* synthetic */ ht8(SimpleBasePlayer simpleBasePlayer, SimpleBasePlayer.State state) {
        this.a = 5;
        this.c = simpleBasePlayer;
        this.b = state;
    }
}
