package androidx.media3.common;

import android.view.SurfaceHolder;
import android.view.SurfaceView;
import androidx.media3.common.SimpleBasePlayer;
import androidx.media3.common.util.Size;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class f implements E3.q {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f12227a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ SimpleBasePlayer.State f12228b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ Object f12229c;

    public /* synthetic */ f(SimpleBasePlayer.State state, Object obj, int i6) {
        this.f12227a = i6;
        this.f12228b = state;
        this.f12229c = obj;
    }

    @Override // E3.q
    public final Object get() {
        switch (this.f12227a) {
            case 0:
                return SimpleBasePlayer.lambda$setVideoTextureView$20(this.f12228b, (Size) this.f12229c);
            case 1:
                return SimpleBasePlayer.lambda$setPlaylistMetadata$15(this.f12228b, (MediaMetadata) this.f12229c);
            case 2:
                return SimpleBasePlayer.lambda$setVideoSurfaceHolder$18(this.f12228b, (SurfaceHolder) this.f12229c);
            case 3:
                return SimpleBasePlayer.lambda$setVideoSurfaceView$19(this.f12228b, (SurfaceView) this.f12229c);
            case 4:
                return SimpleBasePlayer.lambda$setAudioAttributes$30(this.f12228b, (AudioAttributes) this.f12229c);
            case 5:
                return SimpleBasePlayer.lambda$setPlaybackParameters$11(this.f12228b, (PlaybackParameters) this.f12229c);
            default:
                return SimpleBasePlayer.lambda$setTrackSelectionParameters$14(this.f12228b, (TrackSelectionParameters) this.f12229c);
        }
    }
}
