package androidx.media3.exoplayer.audio;

import androidx.media3.exoplayer.audio.AudioRendererEventListener;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class b implements Runnable {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ AudioRendererEventListener.EventDispatcher f2925b;

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

    public /* synthetic */ b(AudioRendererEventListener.EventDispatcher eventDispatcher, Exception exc, int i10) {
        this.f2924a = i10;
        this.f2925b = eventDispatcher;
        this.f2926c = exc;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i10 = this.f2924a;
        Exception exc = this.f2926c;
        AudioRendererEventListener.EventDispatcher eventDispatcher = this.f2925b;
        switch (i10) {
            case 0:
                eventDispatcher.lambda$audioCodecError$9(exc);
                break;
            default:
                eventDispatcher.lambda$audioSinkError$8(exc);
                break;
        }
    }
}
