MediaController$AudioBuffer.smali

.class Lim/tpelyyftgw/messenger/MediaController$AudioBuffer;
.super Ljava/lang/Object;
.source "MediaController.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lim/tpelyyftgw/messenger/MediaController;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "AudioBuffer"
.end annotation


# instance fields
.field buffer:Ljava/nio/ByteBuffer;

.field bufferBytes:[B

.field finished:I

.field pcmOffset:J

.field size:I

.field final synthetic this$0:Lim/tpelyyftgw/messenger/MediaController;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(Lim/tpelyyftgw/messenger/MediaController;I)V
    .registers 3
    .param p2, "capacity"    # I

    .line 93
    iput-object p1, p0, Lim/tpelyyftgw/messenger/MediaController$AudioBuffer;->this$0:Lim/tpelyyftgw/messenger/MediaController;

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

    .line 94
    invoke-static {p2}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;

    move-result-object p1

    iput-object p1, p0, Lim/tpelyyftgw/messenger/MediaController$AudioBuffer;->buffer:Ljava/nio/ByteBuffer;

    .line 95
    new-array p1, p2, [B

    iput-object p1, p0, Lim/tpelyyftgw/messenger/MediaController$AudioBuffer;->bufferBytes:[B

    .line 96
    return-void
.end method