Add Discord APKTool decompilation (Smali source for modding)

- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
This commit is contained in:
2026-02-18 16:13:44 -08:00
parent c080f0d97f
commit f3960ee359
44288 changed files with 10998761 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->enabled(Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;
.field public final synthetic b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$a;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
iput-object p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$a;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$a;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
.line 1
invoke-static {v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->access$000(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;)Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
move-result-object v0
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$a;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;
invoke-interface {v0, v1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;->onAudioEnabled(Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
return-void
.end method

View File

@@ -0,0 +1,74 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->decoderInitialized(Ljava/lang/String;JJ)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Ljava/lang/String;
.field public final synthetic b:J
.field public final synthetic c:J
.field public final synthetic d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;Ljava/lang/String;JJ)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
iput-object p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;->a:Ljava/lang/String;
iput-wide p3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;->b:J
iput-wide p5, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;->c:J
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 7
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
.line 1
invoke-static {v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->access$000(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;)Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
move-result-object v1
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;->a:Ljava/lang/String;
iget-wide v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;->b:J
iget-wide v5, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;->c:J
invoke-interface/range {v1 .. v6}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;->onAudioDecoderInitialized(Ljava/lang/String;JJ)V
return-void
.end method

View File

@@ -0,0 +1,62 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$c;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->inputFormatChanged(Lcom/fyber/inneractive/sdk/player/exoplayer2/j;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Lcom/fyber/inneractive/sdk/player/exoplayer2/j;
.field public final synthetic b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;Lcom/fyber/inneractive/sdk/player/exoplayer2/j;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$c;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
iput-object p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$c;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/j;
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$c;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
.line 1
invoke-static {v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->access$000(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;)Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
move-result-object v0
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$c;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/j;
invoke-interface {v0, v1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;->onAudioInputFormatChanged(Lcom/fyber/inneractive/sdk/player/exoplayer2/j;)V
return-void
.end method

View File

@@ -0,0 +1,74 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->audioTrackUnderrun(IJJ)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:I
.field public final synthetic b:J
.field public final synthetic c:J
.field public final synthetic d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;IJJ)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
iput p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;->a:I
iput-wide p3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;->b:J
iput-wide p5, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;->c:J
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 7
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
.line 1
invoke-static {v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->access$000(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;)Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
move-result-object v1
iget v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;->a:I
iget-wide v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;->b:J
iget-wide v5, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;->c:J
invoke-interface/range {v1 .. v6}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;->onAudioTrackUnderrun(IJJ)V
return-void
.end method

View File

@@ -0,0 +1,67 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$e;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->disabled(Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;
.field public final synthetic b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$e;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
iput-object p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$e;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$e;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;
.line 1
invoke-virtual {v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;->ensureUpdated()V
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$e;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
.line 2
invoke-static {v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->access$000(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;)Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
move-result-object v0
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$e;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;
invoke-interface {v0, v1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;->onAudioDisabled(Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
return-void
.end method

View File

@@ -0,0 +1,62 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$f;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->audioSessionId(I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:I
.field public final synthetic b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$f;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
iput p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$f;->a:I
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$f;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
.line 1
invoke-static {v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->access$000(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;)Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
move-result-object v0
iget v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$f;->a:I
invoke-interface {v0, v1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;->onAudioSessionId(I)V
return-void
.end method

View File

@@ -0,0 +1,201 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "EventDispatcher"
.end annotation
# instance fields
.field private final handler:Landroid/os/Handler;
.field private final listener:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
# direct methods
.method public constructor <init>(Landroid/os/Handler;Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
if-eqz p2, :cond_0
.line 2
invoke-static {p1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/util/a;->a(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Landroid/os/Handler;
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->handler:Landroid/os/Handler;
iput-object p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->listener:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
return-void
.end method
.method public static synthetic access$000(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;)Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
.locals 0
.line 1
iget-object p0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->listener:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
return-object p0
.end method
# virtual methods
.method public audioSessionId(I)V
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->listener:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->handler:Landroid/os/Handler;
.line 2
new-instance v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$f;
invoke-direct {v1, p0, p1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$f;-><init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;I)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_0
return-void
.end method
.method public audioTrackUnderrun(IJJ)V
.locals 9
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->listener:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->handler:Landroid/os/Handler;
.line 2
new-instance v8, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;
move-object v1, v8
move-object v2, p0
move v3, p1
move-wide v4, p2
move-wide v6, p4
invoke-direct/range {v1 .. v7}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$d;-><init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;IJJ)V
invoke-virtual {v0, v8}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_0
return-void
.end method
.method public decoderInitialized(Ljava/lang/String;JJ)V
.locals 9
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->listener:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->handler:Landroid/os/Handler;
.line 2
new-instance v8, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;
move-object v1, v8
move-object v2, p0
move-object v3, p1
move-wide v4, p2
move-wide v6, p4
invoke-direct/range {v1 .. v7}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$b;-><init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;Ljava/lang/String;JJ)V
invoke-virtual {v0, v8}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_0
return-void
.end method
.method public disabled(Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->listener:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->handler:Landroid/os/Handler;
.line 2
new-instance v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$e;
invoke-direct {v1, p0, p1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$e;-><init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_0
return-void
.end method
.method public enabled(Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->listener:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->handler:Landroid/os/Handler;
.line 2
new-instance v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$a;
invoke-direct {v1, p0, p1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$a;-><init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_0
return-void
.end method
.method public inputFormatChanged(Lcom/fyber/inneractive/sdk/player/exoplayer2/j;)V
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->listener:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;->handler:Landroid/os/Handler;
.line 2
new-instance v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$c;
invoke-direct {v1, p0, p1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher$c;-><init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;Lcom/fyber/inneractive/sdk/player/exoplayer2/j;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_0
return-void
.end method

View File

@@ -0,0 +1,31 @@
.class public interface abstract Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/AudioRendererEventListener$EventDispatcher;
}
.end annotation
# virtual methods
.method public abstract onAudioDecoderInitialized(Ljava/lang/String;JJ)V
.end method
.method public abstract onAudioDisabled(Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
.end method
.method public abstract onAudioEnabled(Lcom/fyber/inneractive/sdk/player/exoplayer2/decoder/DecoderCounters;)V
.end method
.method public abstract onAudioInputFormatChanged(Lcom/fyber/inneractive/sdk/player/exoplayer2/j;)V
.end method
.method public abstract onAudioSessionId(I)V
.end method
.method public abstract onAudioTrackUnderrun(IJJ)V
.end method

View File

@@ -0,0 +1,43 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/MediaCodecAudioRenderer$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$f;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/MediaCodecAudioRenderer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "a"
.end annotation
# instance fields
.field public final synthetic a:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/MediaCodecAudioRenderer;
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/MediaCodecAudioRenderer;)V
.locals 0
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/MediaCodecAudioRenderer$a;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/MediaCodecAudioRenderer;
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/MediaCodecAudioRenderer;I)V
.locals 0
.line 2
invoke-direct {p0, p1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/MediaCodecAudioRenderer$a;-><init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/MediaCodecAudioRenderer;)V
return-void
.end method

View File

@@ -0,0 +1,212 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final a:[I
.field public static final b:[I
.field public static final c:[I
.field public static final d:[I
.field public static final e:[I
.field public static final f:[I
# direct methods
.method public static constructor <clinit>()V
.locals 4
const/4 v0, 0x3
const/4 v1, 0x6
const/4 v2, 0x1
const/4 v3, 0x2
filled-new-array {v2, v3, v0, v1}, [I
move-result-object v0
sput-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;->a:[I
const v0, 0xac44
const/16 v1, 0x7d00
const v2, 0xbb80
filled-new-array {v2, v0, v1}, [I
move-result-object v0
sput-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;->b:[I
const/16 v0, 0x5622
const/16 v1, 0x3e80
const/16 v2, 0x5dc0
filled-new-array {v2, v0, v1}, [I
move-result-object v0
sput-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;->c:[I
const/16 v0, 0x8
new-array v0, v0, [I
fill-array-data v0, :array_0
sput-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;->d:[I
const/16 v0, 0x13
new-array v1, v0, [I
fill-array-data v1, :array_1
sput-object v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;->e:[I
new-array v0, v0, [I
fill-array-data v0, :array_2
sput-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;->f:[I
return-void
:array_0
.array-data 4
0x2
0x1
0x2
0x3
0x3
0x4
0x4
0x5
.end array-data
:array_1
.array-data 4
0x20
0x28
0x30
0x38
0x40
0x50
0x60
0x70
0x80
0xa0
0xc0
0xe0
0x100
0x140
0x180
0x1c0
0x200
0x240
0x280
.end array-data
:array_2
.array-data 4
0x45
0x57
0x68
0x79
0x8b
0xae
0xd0
0xf3
0x116
0x15c
0x1a1
0x1e7
0x22d
0x2b8
0x343
0x3cf
0x45a
0x4e5
0x571
.end array-data
.end method
.method public static a(II)I
.locals 4
.line 1
div-int/lit8 v0, p1, 0x2
if-ltz p0, :cond_3
sget-object v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;->b:[I
const/4 v2, 0x3
if-ge p0, v2, :cond_3
if-ltz p1, :cond_3
sget-object v2, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;->f:[I
const/16 v3, 0x13
if-lt v0, v3, :cond_0
goto :goto_0
.line 7
:cond_0
aget p0, v1, p0
const v1, 0xac44
if-ne p0, v1, :cond_1
.line 9
aget p0, v2, v0
rem-int/lit8 p1, p1, 0x2
add-int/2addr p1, p0
mul-int/lit8 p1, p1, 0x2
return p1
:cond_1
sget-object p1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/a;->e:[I
.line 11
aget p1, p1, v0
const/16 v0, 0x7d00
if-ne p0, v0, :cond_2
mul-int/lit8 p1, p1, 0x6
return p1
:cond_2
mul-int/lit8 p1, p1, 0x4
return p1
:cond_3
:goto_0
const/4 p0, -0x1
return p0
.end method

View File

@@ -0,0 +1,49 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
.super Ljava/lang/Exception;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public constructor <init>(III)V
.locals 2
.line 1
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Unhandled format: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " Hz, "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " channels in encoding "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
return-void
.end method

View File

@@ -0,0 +1,77 @@
.class public interface abstract Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
}
.end annotation
# static fields
.field public static final a:Ljava/nio/ByteBuffer;
# direct methods
.method public static constructor <clinit>()V
.locals 2
const/4 v0, 0x0
.line 1
invoke-static {v0}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;
move-result-object v0
invoke-static {}, Ljava/nio/ByteOrder;->nativeOrder()Ljava/nio/ByteOrder;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
move-result-object v0
sput-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
return-void
.end method
# virtual methods
.method public abstract a(Ljava/nio/ByteBuffer;)V
.end method
.method public abstract a()Z
.end method
.method public abstract a(III)Z
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
}
.end annotation
.end method
.method public abstract b()Ljava/nio/ByteBuffer;
.end method
.method public abstract c()V
.end method
.method public abstract d()Z
.end method
.method public abstract e()I
.end method
.method public abstract f()V
.end method
.method public abstract flush()V
.end method
.method public abstract reset()V
.end method

View File

@@ -0,0 +1,78 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$a;
.super Ljava/lang/Thread;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;->e()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Landroid/media/AudioTrack;
.field public final synthetic b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;Landroid/media/AudioTrack;)V
.locals 0
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$a;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
iput-object p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$a;->a:Landroid/media/AudioTrack;
.line 1
invoke-direct {p0}, Ljava/lang/Thread;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 2
:try_start_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$a;->a:Landroid/media/AudioTrack;
.line 1
invoke-virtual {v0}, Landroid/media/AudioTrack;->flush()V
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$a;->a:Landroid/media/AudioTrack;
.line 2
invoke-virtual {v0}, Landroid/media/AudioTrack;->release()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$a;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
.line 5
iget-object v0, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;->e:Landroid/os/ConditionVariable;
.line 6
invoke-virtual {v0}, Landroid/os/ConditionVariable;->open()V
return-void
:catchall_0
move-exception v0
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$a;->b:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
.line 7
iget-object v1, v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;->e:Landroid/os/ConditionVariable;
.line 8
invoke-virtual {v1}, Landroid/os/ConditionVariable;->open()V
.line 9
throw v0
.end method

View File

@@ -0,0 +1,298 @@
.class public Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "b"
.end annotation
# instance fields
.field public a:Landroid/media/AudioTrack;
.field public b:Z
.field public c:I
.field public d:J
.field public e:J
.field public f:J
.field public g:J
.field public h:J
.field public i:J
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(I)V
.locals 0
.line 1
invoke-direct {p0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;-><init>()V
return-void
.end method
# virtual methods
.method public final a()J
.locals 8
iget-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->g:J
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
cmp-long v0, v0, v2
if-eqz v0, :cond_0
.line 15
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
const-wide/16 v2, 0x3e8
mul-long/2addr v0, v2
iget-wide v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->g:J
sub-long/2addr v0, v2
iget v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->c:I
int-to-long v2, v2
mul-long/2addr v0, v2
const-wide/32 v2, 0xf4240
.line 16
div-long/2addr v0, v2
iget-wide v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->i:J
iget-wide v4, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->h:J
add-long/2addr v4, v0
.line 17
invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
return-wide v0
:cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->a:Landroid/media/AudioTrack;
.line 20
invoke-virtual {v0}, Landroid/media/AudioTrack;->getPlayState()I
move-result v0
const/4 v1, 0x1
const-wide/16 v2, 0x0
if-ne v0, v1, :cond_1
return-wide v2
:cond_1
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->a:Landroid/media/AudioTrack;
.line 26
invoke-virtual {v1}, Landroid/media/AudioTrack;->getPlaybackHeadPosition()I
move-result v1
int-to-long v4, v1
const-wide v6, 0xffffffffL
and-long/2addr v4, v6
iget-boolean v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->b:Z
if-eqz v1, :cond_3
const/4 v1, 0x2
if-ne v0, v1, :cond_2
cmp-long v0, v4, v2
if-nez v0, :cond_2
iget-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->d:J
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->f:J
:cond_2
iget-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->f:J
add-long/2addr v4, v0
:cond_3
iget-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->d:J
cmp-long v0, v0, v4
if-lez v0, :cond_4
iget-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->e:J
const-wide/16 v2, 0x1
add-long/2addr v0, v2
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->e:J
:cond_4
iput-wide v4, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->d:J
iget-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->e:J
const/16 v2, 0x20
shl-long/2addr v0, v2
add-long/2addr v4, v0
return-wide v4
.end method
.method public final a(J)V
.locals 4
.line 9
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->a()J
move-result-wide v0
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->h:J
.line 10
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v0
const-wide/16 v2, 0x3e8
mul-long/2addr v0, v2
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->g:J
iput-wide p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->i:J
iget-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->a:Landroid/media/AudioTrack;
.line 12
invoke-virtual {p1}, Landroid/media/AudioTrack;->stop()V
return-void
.end method
.method public a(Landroid/media/AudioTrack;Z)V
.locals 2
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->a:Landroid/media/AudioTrack;
iput-boolean p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->b:Z
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->g:J
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->d:J
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->e:J
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->f:J
if-eqz p1, :cond_0
.line 8
invoke-virtual {p1}, Landroid/media/AudioTrack;->getSampleRate()I
move-result p1
iput p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->c:I
:cond_0
return-void
.end method
.method public b()J
.locals 1
.line 1
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw v0
.end method
.method public c()J
.locals 1
.line 1
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw v0
.end method
.method public final d()V
.locals 4
iget-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->g:J
const-wide v2, -0x7fffffffffffffffL # -4.9E-324
cmp-long v0, v0, v2
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->a:Landroid/media/AudioTrack;
.line 5
invoke-virtual {v0}, Landroid/media/AudioTrack;->pause()V
return-void
.end method
.method public e()Z
.locals 1
const/4 v0, 0x0
return v0
.end method

View File

@@ -0,0 +1,136 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;
.super Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;
.source "SourceFile"
# annotations
.annotation build Landroid/annotation/TargetApi;
value = 0x13
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "c"
.end annotation
# instance fields
.field public final j:Landroid/media/AudioTimestamp;
.field public k:J
.field public l:J
.field public m:J
# direct methods
.method public constructor <init>()V
.locals 1
const/4 v0, 0x0
.line 1
invoke-direct {p0, v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;-><init>(I)V
.line 2
new-instance v0, Landroid/media/AudioTimestamp;
invoke-direct {v0}, Landroid/media/AudioTimestamp;-><init>()V
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->j:Landroid/media/AudioTimestamp;
return-void
.end method
# virtual methods
.method public final a(Landroid/media/AudioTrack;Z)V
.locals 0
.line 1
invoke-super {p0, p1, p2}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->a(Landroid/media/AudioTrack;Z)V
const-wide/16 p1, 0x0
iput-wide p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->k:J
iput-wide p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->l:J
iput-wide p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->m:J
return-void
.end method
.method public final b()J
.locals 2
iget-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->m:J
return-wide v0
.end method
.method public final c()J
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->j:Landroid/media/AudioTimestamp;
.line 1
iget-wide v0, v0, Landroid/media/AudioTimestamp;->nanoTime:J
return-wide v0
.end method
.method public final e()Z
.locals 7
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$b;->a:Landroid/media/AudioTrack;
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->j:Landroid/media/AudioTimestamp;
.line 1
invoke-virtual {v0, v1}, Landroid/media/AudioTrack;->getTimestamp(Landroid/media/AudioTimestamp;)Z
move-result v0
if-eqz v0, :cond_1
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->j:Landroid/media/AudioTimestamp;
.line 3
iget-wide v1, v1, Landroid/media/AudioTimestamp;->framePosition:J
iget-wide v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->l:J
cmp-long v3, v3, v1
if-lez v3, :cond_0
iget-wide v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->k:J
const-wide/16 v5, 0x1
add-long/2addr v3, v5
iput-wide v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->k:J
:cond_0
iput-wide v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->l:J
iget-wide v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->k:J
const/16 v5, 0x20
shl-long/2addr v3, v5
add-long/2addr v1, v3
iput-wide v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$c;->m:J
:cond_1
return v0
.end method

View File

@@ -0,0 +1,34 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$d;
.super Ljava/lang/Exception;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "d"
.end annotation
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;)V
.locals 0
.line 1
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/Throwable;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
.line 2
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
return-void
.end method

View File

@@ -0,0 +1,57 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$e;
.super Ljava/lang/Exception;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "e"
.end annotation
# direct methods
.method public constructor <init>(IIII)V
.locals 2
.line 1
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "AudioTrack init failed: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, ", Config("
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, ", "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, ")"
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
return-void
.end method

View File

@@ -0,0 +1,14 @@
.class public interface abstract Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$f;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "f"
.end annotation

View File

@@ -0,0 +1,39 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$g;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "g"
.end annotation
# instance fields
.field public final a:Lcom/fyber/inneractive/sdk/player/exoplayer2/n;
.field public final b:J
.field public final c:J
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/n;JJ)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$g;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/n;
iput-wide p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$g;->b:J
iput-wide p4, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$g;->c:J
return-void
.end method

View File

@@ -0,0 +1,32 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c$h;
.super Ljava/lang/Exception;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "h"
.end annotation
# direct methods
.method public constructor <init>(I)V
.locals 1
const-string v0, "AudioTrack write failed: "
.line 1
invoke-static {v0, p1}, Lcom/fyber/inneractive/sdk/player/exoplayer2/i;->a(Ljava/lang/String;I)Ljava/lang/String;
move-result-object p1
.line 153
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
return-void
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,415 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;
# instance fields
.field public b:I
.field public c:I
.field public d:[I
.field public e:Z
.field public f:[I
.field public g:Ljava/nio/ByteBuffer;
.field public h:Ljava/nio/ByteBuffer;
.field public i:Z
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
sget-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->g:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->h:Ljava/nio/ByteBuffer;
const/4 v0, -0x1
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->b:I
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->c:I
return-void
.end method
# virtual methods
.method public final a(Ljava/nio/ByteBuffer;)V
.locals 7
.line 26
invoke-virtual {p1}, Ljava/nio/Buffer;->position()I
move-result v0
.line 27
invoke-virtual {p1}, Ljava/nio/Buffer;->limit()I
move-result v1
sub-int v2, v1, v0
iget v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->b:I
mul-int/lit8 v3, v3, 0x2
.line 28
div-int/2addr v2, v3
iget-object v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->f:[I
.line 29
array-length v3, v3
mul-int/2addr v2, v3
mul-int/lit8 v2, v2, 0x2
iget-object v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->g:Ljava/nio/ByteBuffer;
.line 30
invoke-virtual {v3}, Ljava/nio/Buffer;->capacity()I
move-result v3
if-ge v3, v2, :cond_0
.line 31
invoke-static {v2}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;
move-result-object v2
invoke-static {}, Ljava/nio/ByteOrder;->nativeOrder()Ljava/nio/ByteOrder;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
move-result-object v2
iput-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->g:Ljava/nio/ByteBuffer;
goto :goto_0
:cond_0
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->g:Ljava/nio/ByteBuffer;
.line 33
invoke-virtual {v2}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
:goto_0
if-ge v0, v1, :cond_2
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->f:[I
.line 36
array-length v3, v2
const/4 v4, 0x0
:goto_1
if-ge v4, v3, :cond_1
aget v5, v2, v4
iget-object v6, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->g:Ljava/nio/ByteBuffer;
mul-int/lit8 v5, v5, 0x2
add-int/2addr v5, v0
.line 37
invoke-virtual {p1, v5}, Ljava/nio/ByteBuffer;->getShort(I)S
move-result v5
invoke-virtual {v6, v5}, Ljava/nio/ByteBuffer;->putShort(S)Ljava/nio/ByteBuffer;
add-int/lit8 v4, v4, 0x1
goto :goto_1
:cond_1
iget v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->b:I
mul-int/lit8 v2, v2, 0x2
add-int/2addr v0, v2
goto :goto_0
.line 41
:cond_2
invoke-virtual {p1, v1}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
iget-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->g:Ljava/nio/ByteBuffer;
.line 42
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->flip()Ljava/nio/Buffer;
iget-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->g:Ljava/nio/ByteBuffer;
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->h:Ljava/nio/ByteBuffer;
return-void
.end method
.method public final a()Z
.locals 2
.line 0
iget-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->i:Z
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->h:Ljava/nio/ByteBuffer;
sget-object v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final a(III)Z
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
}
.end annotation
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->d:[I
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->f:[I
.line 1
invoke-static {v0, v1}, Ljava/util/Arrays;->equals([I[I)Z
move-result v0
const/4 v1, 0x1
xor-int/2addr v0, v1
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->d:[I
iput-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->f:[I
const/4 v3, 0x0
if-nez v2, :cond_0
iput-boolean v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->e:Z
return v0
:cond_0
const/4 v4, 0x2
if-ne p3, v4, :cond_6
if-nez v0, :cond_1
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->c:I
if-ne v0, p1, :cond_1
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->b:I
if-ne v0, p2, :cond_1
return v3
:cond_1
iput p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->c:I
iput p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->b:I
.line 17
array-length v0, v2
if-eq p2, v0, :cond_2
move v0, v1
goto :goto_0
:cond_2
move v0, v3
:goto_0
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->e:Z
move v0, v3
:goto_1
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->f:[I
.line 18
array-length v4, v2
if-ge v0, v4, :cond_5
.line 19
aget v2, v2, v0
if-ge v2, p2, :cond_4
iget-boolean v4, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->e:Z
if-eq v2, v0, :cond_3
move v2, v1
goto :goto_2
:cond_3
move v2, v3
:goto_2
or-int/2addr v2, v4
iput-boolean v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->e:Z
add-int/lit8 v0, v0, 0x1
goto :goto_1
.line 24
:cond_4
new-instance v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
invoke-direct {v0, p1, p2, p3}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;-><init>(III)V
throw v0
:cond_5
return v1
.line 25
:cond_6
new-instance v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
invoke-direct {v0, p1, p2, p3}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;-><init>(III)V
throw v0
.end method
.method public final b()Ljava/nio/ByteBuffer;
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->h:Ljava/nio/ByteBuffer;
sget-object v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->h:Ljava/nio/ByteBuffer;
return-object v0
.end method
.method public final c()V
.locals 1
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->i:Z
return-void
.end method
.method public final d()Z
.locals 1
iget-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->e:Z
return v0
.end method
.method public final e()I
.locals 1
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->f:[I
if-nez v0, :cond_0
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->b:I
goto :goto_0
.line 1
:cond_0
array-length v0, v0
:goto_0
return v0
.end method
.method public final f()V
.locals 0
return-void
.end method
.method public final flush()V
.locals 1
sget-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->h:Ljava/nio/ByteBuffer;
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->i:Z
return-void
.end method
.method public final reset()V
.locals 1
.line 1
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->flush()V
sget-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->g:Ljava/nio/ByteBuffer;
const/4 v0, -0x1
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->b:I
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->c:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->f:[I
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/d;->e:Z
return-void
.end method

View File

@@ -0,0 +1,114 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/e;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final a:[I
.field public static final b:[I
.field public static final c:[I
# direct methods
.method public static constructor <clinit>()V
.locals 2
const/16 v0, 0x10
new-array v1, v0, [I
fill-array-data v1, :array_0
sput-object v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/e;->a:[I
new-array v0, v0, [I
fill-array-data v0, :array_1
sput-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/e;->b:[I
const/16 v0, 0x1d
new-array v0, v0, [I
fill-array-data v0, :array_2
sput-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/e;->c:[I
return-void
:array_0
.array-data 4
0x1
0x2
0x2
0x2
0x2
0x3
0x3
0x4
0x4
0x5
0x6
0x6
0x6
0x7
0x8
0x8
.end array-data
:array_1
.array-data 4
-0x1
0x1f40
0x3e80
0x7d00
-0x1
-0x1
0x2b11
0x5622
0xac44
-0x1
-0x1
0x2ee0
0x5dc0
0xbb80
-0x1
-0x1
.end array-data
:array_2
.array-data 4
0x40
0x70
0x80
0xc0
0xe0
0x100
0x180
0x1c0
0x200
0x280
0x300
0x380
0x400
0x480
0x500
0x600
0x780
0x800
0x900
0xa00
0xa80
0xb00
0xb07
0xb80
0xc00
0xf00
0x1000
0x1800
0x1e00
.end array-data
.end method

View File

@@ -0,0 +1,453 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;
# instance fields
.field public b:I
.field public c:I
.field public d:I
.field public e:Ljava/nio/ByteBuffer;
.field public f:Ljava/nio/ByteBuffer;
.field public g:Z
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->b:I
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->c:I
const/4 v0, 0x0
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->d:I
sget-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->f:Ljava/nio/ByteBuffer;
return-void
.end method
# virtual methods
.method public final a(Ljava/nio/ByteBuffer;)V
.locals 7
.line 12
invoke-virtual {p1}, Ljava/nio/Buffer;->position()I
move-result v0
.line 13
invoke-virtual {p1}, Ljava/nio/Buffer;->limit()I
move-result v1
sub-int v2, v1, v0
iget v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->d:I
const/high16 v4, 0x40000000 # 2.0f
const/4 v5, 0x3
const/high16 v6, -0x80000000
if-eq v3, v6, :cond_2
if-eq v3, v5, :cond_1
if-ne v3, v4, :cond_0
.line 24
div-int/lit8 v2, v2, 0x2
goto :goto_1
.line 30
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
invoke-direct {p1}, Ljava/lang/IllegalStateException;-><init>()V
throw p1
:cond_1
:goto_0
mul-int/lit8 v2, v2, 0x2
goto :goto_1
.line 31
:cond_2
div-int/2addr v2, v5
goto :goto_0
:goto_1
iget-object v3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
.line 42
invoke-virtual {v3}, Ljava/nio/Buffer;->capacity()I
move-result v3
if-ge v3, v2, :cond_3
.line 43
invoke-static {v2}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;
move-result-object v2
invoke-static {}, Ljava/nio/ByteOrder;->nativeOrder()Ljava/nio/ByteOrder;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
move-result-object v2
iput-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
goto :goto_2
:cond_3
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
.line 45
invoke-virtual {v2}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
:goto_2
iget v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->d:I
if-eq v2, v6, :cond_6
if-eq v2, v5, :cond_5
if-ne v2, v4, :cond_4
:goto_3
if-ge v0, v1, :cond_7
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
add-int/lit8 v3, v0, 0x2
.line 67
invoke-virtual {p1, v3}, Ljava/nio/ByteBuffer;->get(I)B
move-result v3
invoke-virtual {v2, v3}, Ljava/nio/ByteBuffer;->put(B)Ljava/nio/ByteBuffer;
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
add-int/lit8 v3, v0, 0x3
.line 68
invoke-virtual {p1, v3}, Ljava/nio/ByteBuffer;->get(I)B
move-result v3
invoke-virtual {v2, v3}, Ljava/nio/ByteBuffer;->put(B)Ljava/nio/ByteBuffer;
add-int/lit8 v0, v0, 0x4
goto :goto_3
.line 76
:cond_4
new-instance p1, Ljava/lang/IllegalStateException;
invoke-direct {p1}, Ljava/lang/IllegalStateException;-><init>()V
throw p1
:cond_5
:goto_4
if-ge v0, v1, :cond_7
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
const/4 v3, 0x0
.line 77
invoke-virtual {v2, v3}, Ljava/nio/ByteBuffer;->put(B)Ljava/nio/ByteBuffer;
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
.line 78
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->get(I)B
move-result v3
and-int/lit16 v3, v3, 0xff
add-int/lit8 v3, v3, -0x80
int-to-byte v3, v3
invoke-virtual {v2, v3}, Ljava/nio/ByteBuffer;->put(B)Ljava/nio/ByteBuffer;
add-int/lit8 v0, v0, 0x1
goto :goto_4
:cond_6
:goto_5
if-ge v0, v1, :cond_7
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
add-int/lit8 v3, v0, 0x1
.line 84
invoke-virtual {p1, v3}, Ljava/nio/ByteBuffer;->get(I)B
move-result v3
invoke-virtual {v2, v3}, Ljava/nio/ByteBuffer;->put(B)Ljava/nio/ByteBuffer;
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
add-int/lit8 v3, v0, 0x2
.line 85
invoke-virtual {p1, v3}, Ljava/nio/ByteBuffer;->get(I)B
move-result v3
invoke-virtual {v2, v3}, Ljava/nio/ByteBuffer;->put(B)Ljava/nio/ByteBuffer;
add-int/lit8 v0, v0, 0x3
goto :goto_5
.line 102
:cond_7
invoke-virtual {p1}, Ljava/nio/Buffer;->limit()I
move-result v0
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
iget-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
.line 103
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->flip()Ljava/nio/Buffer;
iget-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->f:Ljava/nio/ByteBuffer;
return-void
.end method
.method public final a()Z
.locals 2
.line 0
iget-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->g:Z
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->f:Ljava/nio/ByteBuffer;
sget-object v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final a(III)Z
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
}
.end annotation
const/4 v0, 0x3
const/4 v1, 0x2
if-eq p3, v0, :cond_1
if-eq p3, v1, :cond_1
const/high16 v0, -0x80000000
if-eq p3, v0, :cond_1
const/high16 v0, 0x40000000 # 2.0f
if-ne p3, v0, :cond_0
goto :goto_0
.line 1
:cond_0
new-instance v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
invoke-direct {v0, p1, p2, p3}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;-><init>(III)V
throw v0
:cond_1
:goto_0
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->b:I
if-ne v0, p1, :cond_2
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->c:I
if-ne v0, p2, :cond_2
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->d:I
if-ne v0, p3, :cond_2
const/4 p1, 0x0
return p1
:cond_2
iput p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->b:I
iput p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->c:I
iput p3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->d:I
if-ne p3, v1, :cond_3
sget-object p1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
:cond_3
const/4 p1, 0x1
return p1
.end method
.method public final b()Ljava/nio/ByteBuffer;
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->f:Ljava/nio/ByteBuffer;
sget-object v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->f:Ljava/nio/ByteBuffer;
return-object v0
.end method
.method public final c()V
.locals 1
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->g:Z
return-void
.end method
.method public final d()Z
.locals 2
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->d:I
if-eqz v0, :cond_0
const/4 v1, 0x2
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final e()I
.locals 1
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->c:I
return v0
.end method
.method public final f()V
.locals 0
return-void
.end method
.method public final flush()V
.locals 1
sget-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->f:Ljava/nio/ByteBuffer;
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->g:Z
return-void
.end method
.method public final reset()V
.locals 1
.line 1
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->flush()V
sget-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->e:Ljava/nio/ByteBuffer;
const/4 v0, -0x1
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->b:I
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->c:I
const/4 v0, 0x0
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/f;->d:I
return-void
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,613 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;
# instance fields
.field public b:I
.field public c:I
.field public d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;
.field public e:F
.field public f:F
.field public g:Ljava/nio/ByteBuffer;
.field public h:Ljava/nio/ShortBuffer;
.field public i:Ljava/nio/ByteBuffer;
.field public j:J
.field public k:J
.field public l:Z
# direct methods
.method public constructor <init>()V
.locals 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/high16 v0, 0x3f800000 # 1.0f
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->e:F
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->f:F
const/4 v0, -0x1
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->b:I
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->c:I
sget-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->g:Ljava/nio/ByteBuffer;
.line 7
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->asShortBuffer()Ljava/nio/ShortBuffer;
move-result-object v1
iput-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->h:Ljava/nio/ShortBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->i:Ljava/nio/ByteBuffer;
return-void
.end method
# virtual methods
.method public final a(Ljava/nio/ByteBuffer;)V
.locals 8
.line 7
invoke-virtual {p1}, Ljava/nio/Buffer;->hasRemaining()Z
move-result v0
if-eqz v0, :cond_0
.line 8
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->asShortBuffer()Ljava/nio/ShortBuffer;
move-result-object v0
.line 9
invoke-virtual {p1}, Ljava/nio/Buffer;->remaining()I
move-result v1
iget-wide v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->j:J
int-to-long v4, v1
add-long/2addr v2, v4
iput-wide v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->j:J
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;
.line 11
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
.line 12
invoke-virtual {v0}, Ljava/nio/Buffer;->remaining()I
move-result v3
iget v4, v2, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->b:I
div-int/2addr v3, v4
mul-int/2addr v4, v3
mul-int/lit8 v4, v4, 0x2
.line 14
invoke-virtual {v2, v3}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->a(I)V
.line 15
iget-object v5, v2, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->h:[S
iget v6, v2, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->q:I
iget v7, v2, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->b:I
mul-int/2addr v6, v7
div-int/lit8 v4, v4, 0x2
invoke-virtual {v0, v5, v6, v4}, Ljava/nio/ShortBuffer;->get([SII)Ljava/nio/ShortBuffer;
.line 16
iget v0, v2, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->q:I
add-int/2addr v0, v3
iput v0, v2, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->q:I
.line 17
invoke-virtual {v2}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->a()V
.line 18
invoke-virtual {p1}, Ljava/nio/Buffer;->position()I
move-result v0
add-int/2addr v0, v1
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
:cond_0
iget-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;
.line 21
iget p1, p1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->r:I
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->b:I
mul-int/2addr p1, v0
mul-int/lit8 p1, p1, 0x2
if-lez p1, :cond_2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->g:Ljava/nio/ByteBuffer;
.line 24
invoke-virtual {v0}, Ljava/nio/Buffer;->capacity()I
move-result v0
if-ge v0, p1, :cond_1
.line 25
invoke-static {p1}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;
move-result-object v0
invoke-static {}, Ljava/nio/ByteOrder;->nativeOrder()Ljava/nio/ByteOrder;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
move-result-object v0
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->g:Ljava/nio/ByteBuffer;
.line 26
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->asShortBuffer()Ljava/nio/ShortBuffer;
move-result-object v0
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->h:Ljava/nio/ShortBuffer;
goto :goto_0
:cond_1
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->g:Ljava/nio/ByteBuffer;
.line 28
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->h:Ljava/nio/ShortBuffer;
.line 29
invoke-virtual {v0}, Ljava/nio/ShortBuffer;->clear()Ljava/nio/Buffer;
:goto_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->h:Ljava/nio/ShortBuffer;
.line 31
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
.line 32
invoke-virtual {v1}, Ljava/nio/Buffer;->remaining()I
move-result v2
iget v3, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->b:I
div-int/2addr v2, v3
iget v3, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->r:I
invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I
move-result v2
.line 33
iget-object v3, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->j:[S
iget v4, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->b:I
mul-int/2addr v4, v2
const/4 v5, 0x0
invoke-virtual {v1, v3, v5, v4}, Ljava/nio/ShortBuffer;->put([SII)Ljava/nio/ShortBuffer;
.line 34
iget v1, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->r:I
sub-int/2addr v1, v2
iput v1, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->r:I
.line 35
iget-object v3, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->j:[S
iget v0, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->b:I
mul-int/2addr v2, v0
mul-int/2addr v1, v0
invoke-static {v3, v2, v3, v5, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
iget-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->k:J
int-to-long v2, p1
add-long/2addr v0, v2
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->k:J
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->g:Ljava/nio/ByteBuffer;
.line 37
invoke-virtual {v0, p1}, Ljava/nio/ByteBuffer;->limit(I)Ljava/nio/Buffer;
iget-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->g:Ljava/nio/ByteBuffer;
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->i:Ljava/nio/ByteBuffer;
:cond_2
return-void
.end method
.method public final a()Z
.locals 1
iget-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->l:Z
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;
if-eqz v0, :cond_0
.line 40
iget v0, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->r:I
if-nez v0, :cond_1
:cond_0
const/4 v0, 0x1
goto :goto_0
:cond_1
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final a(III)Z
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
}
.end annotation
const/4 v0, 0x2
if-ne p3, v0, :cond_1
iget p3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->c:I
if-ne p3, p1, :cond_0
iget p3, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->b:I
if-ne p3, p2, :cond_0
const/4 p1, 0x0
return p1
:cond_0
iput p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->c:I
iput p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->b:I
const/4 p1, 0x1
return p1
.line 6
:cond_1
new-instance v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;
invoke-direct {v0, p1, p2, p3}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b$a;-><init>(III)V
throw v0
.end method
.method public final b()Ljava/nio/ByteBuffer;
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->i:Ljava/nio/ByteBuffer;
sget-object v1, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->i:Ljava/nio/ByteBuffer;
return-object v0
.end method
.method public final c()V
.locals 8
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;
.line 2
iget v1, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->q:I
.line 3
iget v2, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->o:F
iget v3, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->p:F
div-float/2addr v2, v3
.line 4
iget v4, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->r:I
int-to-float v5, v1
div-float/2addr v5, v2
iget v2, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->s:I
int-to-float v2, v2
add-float/2addr v5, v2
div-float/2addr v5, v3
const/high16 v2, 0x3f000000 # 0.5f
add-float/2addr v5, v2
float-to-int v2, v5
add-int/2addr v4, v2
.line 8
iget v2, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->e:I
mul-int/lit8 v2, v2, 0x2
add-int/2addr v2, v1
invoke-virtual {v0, v2}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->a(I)V
const/4 v2, 0x0
move v3, v2
.line 9
:goto_0
iget v5, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->e:I
mul-int/lit8 v5, v5, 0x2
iget v6, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->b:I
mul-int v7, v5, v6
if-ge v3, v7, :cond_0
.line 10
iget-object v5, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->h:[S
mul-int/2addr v6, v1
add-int/2addr v6, v3
aput-short v2, v5, v6
add-int/lit8 v3, v3, 0x1
goto :goto_0
.line 12
:cond_0
iget v1, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->q:I
add-int/2addr v5, v1
iput v5, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->q:I
.line 13
invoke-virtual {v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->a()V
.line 15
iget v1, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->r:I
if-le v1, v4, :cond_1
.line 16
iput v4, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->r:I
.line 19
:cond_1
iput v2, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->q:I
.line 20
iput v2, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->t:I
.line 21
iput v2, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->s:I
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->l:Z
return-void
.end method
.method public final d()Z
.locals 3
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->e:F
const/high16 v1, 0x3f800000 # 1.0f
sub-float/2addr v0, v1
.line 1
invoke-static {v0}, Ljava/lang/Math;->abs(F)F
move-result v0
const v2, 0x3c23d70a # 0.01f
cmpl-float v0, v0, v2
if-gez v0, :cond_1
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->f:F
sub-float/2addr v0, v1
invoke-static {v0}, Ljava/lang/Math;->abs(F)F
move-result v0
cmpl-float v0, v0, v2
if-ltz v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
return v0
.end method
.method public final e()I
.locals 1
iget v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->b:I
return v0
.end method
.method public final f()V
.locals 0
return-void
.end method
.method public final flush()V
.locals 3
.line 1
new-instance v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;
iget v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->c:I
iget v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->b:I
invoke-direct {v0, v1, v2}, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;-><init>(II)V
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;
iget v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->e:F
iput v1, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->o:F
iget v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->f:F
iput v1, v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;->p:F
sget-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->i:Ljava/nio/ByteBuffer;
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->j:J
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->k:J
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->l:Z
return-void
.end method
.method public final reset()V
.locals 2
const/4 v0, 0x0
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->d:Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/g;
sget-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/b;->a:Ljava/nio/ByteBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->g:Ljava/nio/ByteBuffer;
.line 3
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->asShortBuffer()Ljava/nio/ShortBuffer;
move-result-object v1
iput-object v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->h:Ljava/nio/ShortBuffer;
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->i:Ljava/nio/ByteBuffer;
const/4 v0, -0x1
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->b:I
iput v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->c:I
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->j:J
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->k:J
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/audio/h;->l:Z
return-void
.end method