package com.tencent.mm.plugin.story.ui.view.editor.item;

import a.f.b.j;
import a.l;
import com.google.android.exoplayer2.e;
import com.google.android.exoplayer2.p;
import com.google.android.exoplayer2.q.a;
import com.google.android.exoplayer2.v;
import com.tencent.matrix.trace.core.AppMethodBeat;

@l(dWo = {1, 1, 13}, dWp = {"\u0000A\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\u0016J\u0012\u0010\u0006\u001a\u00020\u00032\b\u0010\u0004\u001a\u0004\u0018\u00010\u0007H\u0016J\u0012\u0010\b\u001a\u00020\u00032\b\u0010\u0004\u001a\u0004\u0018\u00010\tH\u0016J\u0018\u0010\n\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u000b\u001a\u00020\fH\u0016J\b\u0010\r\u001a\u00020\u0003H\u0016J\u0010\u0010\u000e\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\fH\u0016J\u001c\u0010\u000f\u001a\u00020\u00032\b\u0010\u0004\u001a\u0004\u0018\u00010\u00102\b\u0010\u000b\u001a\u0004\u0018\u00010\u0011H\u0016J\u001c\u0010\u0012\u001a\u00020\u00032\b\u0010\u0004\u001a\u0004\u0018\u00010\u00132\b\u0010\u000b\u001a\u0004\u0018\u00010\u0014H\u0016¨\u0006\u0015"}, dWq = {"com/tencent/mm/plugin/story/ui/view/editor/item/MusicLrcView$player$1", "Lcom/google/android/exoplayer2/Player$EventListener;", "onLoadingChanged", "", "p0", "", "onPlaybackParametersChanged", "Lcom/google/android/exoplayer2/PlaybackParameters;", "onPlayerError", "Lcom/google/android/exoplayer2/ExoPlaybackException;", "onPlayerStateChanged", "p1", "", "onPositionDiscontinuity", "onRepeatModeChanged", "onTimelineChanged", "Lcom/google/android/exoplayer2/Timeline;", "", "onTracksChanged", "Lcom/google/android/exoplayer2/source/TrackGroupArray;", "Lcom/google/android/exoplayer2/trackselection/TrackSelectionArray;", "plugin-story_release"})
public final class MusicLrcView$a implements a {
    final /* synthetic */ MusicLrcView snh;

    MusicLrcView$a(MusicLrcView musicLrcView) {
        this.snh = musicLrcView;
    }

    public final void a(p pVar) {
    }

    public final void a(e eVar) {
    }

    public final void aH(boolean z) {
    }

    public final void qe() {
    }

    public final void c(boolean z, int i) {
        Long l = null;
        AppMethodBeat.i(110677);
        if (i == 3) {
            MusicLrcView musicLrcView = this.snh;
            if (musicLrcView.shY) {
                musicLrcView.sne = musicLrcView.getWidth();
                musicLrcView.snf = true;
                musicLrcView.cCC();
            }
            v player = this.snh.getPlayer();
            Long valueOf = player != null ? Long.valueOf(player.getDuration()) : null;
            if (valueOf == null) {
                j.dWJ();
            }
            if (valueOf.longValue() < ((long) this.snh.getRndDuration())) {
                musicLrcView = this.snh;
                v player2 = this.snh.getPlayer();
                if (player2 != null) {
                    l = Long.valueOf(player2.getDuration());
                }
                if (l == null) {
                    j.dWJ();
                }
                musicLrcView.setRndDuration((int) l.longValue());
            }
        }
        AppMethodBeat.o(110677);
    }
}
