package androidx.media3.exoplayer.hls;

import androidx.media3.common.Player;
import androidx.media3.common.util.Consumer;
import androidx.media3.exoplayer.ExoPlayer;
import androidx.media3.exoplayer.hls.HlsInterstitialsAdsLoader;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class e implements Consumer {
    public final /* synthetic */ int a;
    public final /* synthetic */ Object b;
    public final /* synthetic */ Object c;

    public /* synthetic */ e(Object obj, Object obj2, int i) {
        this.a = i;
        this.b = obj;
        this.c = obj2;
    }

    @Override // androidx.media3.common.util.Consumer
    public final void accept(Object obj) {
        switch (this.a) {
            case 0:
                HlsInterstitialsAdsLoader.PlayerListener.lambda$onPositionDiscontinuity$1((Player.PositionInfo) this.b, this.c, (HlsInterstitialsAdsLoader.Listener) obj);
                break;
            case 1:
                HlsInterstitialsAdsLoader.PlayerListener.lambda$onPositionDiscontinuity$2((Player.PositionInfo) this.b, this.c, (HlsInterstitialsAdsLoader.Listener) obj);
                break;
            case 2:
                HlsInterstitialsAdsLoader.PlayerListener.lambda$onPositionDiscontinuity$3((Player.PositionInfo) this.b, this.c, (HlsInterstitialsAdsLoader.Listener) obj);
                break;
            default:
                HlsInterstitialsAdsLoader.PlayerListener.lambda$onPlaybackStateChanged$4((ExoPlayer) this.b, this.c, (HlsInterstitialsAdsLoader.Listener) obj);
                break;
        }
    }
}
