.class public final Lz5/hu0;
.super Ljava/lang/Thread;
.source ""


# instance fields
.field public final synthetic r:Landroid/media/AudioTrack;

.field public final synthetic s:Lz5/ky0;


# direct methods
.method public constructor <init>(Lz5/ky0;Landroid/media/AudioTrack;)V
    .registers 3

    iput-object p1, p0, Lz5/hu0;->s:Lz5/ky0;

    iput-object p2, p0, Lz5/hu0;->r:Landroid/media/AudioTrack;

    const-string p1, "ExoPlayer:AudioTrackReleaseThread"

    invoke-direct {p0, p1}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 3

    :try_start_0
    iget-object v0, p0, Lz5/hu0;->r:Landroid/media/AudioTrack;

    invoke-virtual {v0}, Landroid/media/AudioTrack;->flush()V

    iget-object v0, p0, Lz5/hu0;->r:Landroid/media/AudioTrack;

    invoke-virtual {v0}, Landroid/media/AudioTrack;->release()V
    :try_end_a
    .catchall {:try_start_0 .. :try_end_a} :catchall_12

    iget-object v0, p0, Lz5/hu0;->s:Lz5/ky0;

    .line 1
    iget-object v0, v0, Lz5/ky0;->e:Landroid/os/ConditionVariable;

    .line 2
    invoke-virtual {v0}, Landroid/os/ConditionVariable;->open()V

    return-void

    :catchall_12
    move-exception v0

    iget-object v1, p0, Lz5/hu0;->s:Lz5/ky0;

    .line 3
    iget-object v1, v1, Lz5/ky0;->e:Landroid/os/ConditionVariable;

    .line 4
    invoke-virtual {v1}, Landroid/os/ConditionVariable;->open()V

    throw v0
.end method
