269 lines
5.5 KiB
Smali
269 lines
5.5 KiB
Smali
.class public abstract Lf/k/a/b/z0/r;
|
|
.super Ljava/lang/Object;
|
|
.source "BaseAudioProcessor.java"
|
|
|
|
# interfaces
|
|
.implements Lf/k/a/b/z0/l;
|
|
|
|
|
|
# instance fields
|
|
.field public b:Lf/k/a/b/z0/l$a;
|
|
|
|
.field public c:Lf/k/a/b/z0/l$a;
|
|
|
|
.field public d:Lf/k/a/b/z0/l$a;
|
|
|
|
.field public e:Lf/k/a/b/z0/l$a;
|
|
|
|
.field public f:Ljava/nio/ByteBuffer;
|
|
|
|
.field public g:Ljava/nio/ByteBuffer;
|
|
|
|
.field public h:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
sget-object v0, Lf/k/a/b/z0/l;->a:Ljava/nio/ByteBuffer;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->f:Ljava/nio/ByteBuffer;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->g:Ljava/nio/ByteBuffer;
|
|
|
|
sget-object v0, Lf/k/a/b/z0/l$a;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->d:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->b:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->c:Lf/k/a/b/z0/l$a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lf/k/a/b/z0/l$a;)Lf/k/a/b/z0/l$a;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lf/k/a/b/z0/l$b;
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lf/k/a/b/z0/r;->d:Lf/k/a/b/z0/l$a;
|
|
|
|
invoke-virtual {p0, p1}, Lf/k/a/b/z0/r;->b(Lf/k/a/b/z0/l$a;)Lf/k/a/b/z0/l$a;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lf/k/a/b/z0/r;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/z0/r;->a()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lf/k/a/b/z0/r;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object p1, Lf/k/a/b/z0/l$a;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
:goto_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final a(I)Ljava/nio/ByteBuffer;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/k/a/b/z0/r;->f:Ljava/nio/ByteBuffer;
|
|
|
|
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->capacity()I
|
|
|
|
move-result v0
|
|
|
|
if-ge v0, p1, :cond_0
|
|
|
|
invoke-static {p1}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {}, Ljava/nio/ByteOrder;->nativeOrder()Ljava/nio/ByteOrder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lf/k/a/b/z0/r;->f:Ljava/nio/ByteBuffer;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lf/k/a/b/z0/r;->f:Ljava/nio/ByteBuffer;
|
|
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
|
|
|
|
:goto_0
|
|
iget-object p1, p0, Lf/k/a/b/z0/r;->f:Ljava/nio/ByteBuffer;
|
|
|
|
iput-object p1, p0, Lf/k/a/b/z0/r;->g:Ljava/nio/ByteBuffer;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/k/a/b/z0/r;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
sget-object v1, Lf/k/a/b/z0/l$a;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
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 abstract b(Lf/k/a/b/z0/l$a;)Lf/k/a/b/z0/l$a;
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lf/k/a/b/z0/l$b;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public final b()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lf/k/a/b/z0/r;->h:Z
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/z0/r;->e()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c()Z
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/CallSuper;
|
|
.end annotation
|
|
|
|
iget-boolean v0, p0, Lf/k/a/b/z0/r;->h:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lf/k/a/b/z0/r;->g:Ljava/nio/ByteBuffer;
|
|
|
|
sget-object v1, Lf/k/a/b/z0/l;->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 d()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public e()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public f()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final flush()V
|
|
.locals 1
|
|
|
|
sget-object v0, Lf/k/a/b/z0/l;->a:Ljava/nio/ByteBuffer;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->g:Ljava/nio/ByteBuffer;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lf/k/a/b/z0/r;->h:Z
|
|
|
|
iget-object v0, p0, Lf/k/a/b/z0/r;->d:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->b:Lf/k/a/b/z0/l$a;
|
|
|
|
iget-object v0, p0, Lf/k/a/b/z0/r;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->c:Lf/k/a/b/z0/l$a;
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/z0/r;->d()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getOutput()Ljava/nio/ByteBuffer;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/CallSuper;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lf/k/a/b/z0/r;->g:Ljava/nio/ByteBuffer;
|
|
|
|
sget-object v1, Lf/k/a/b/z0/l;->a:Ljava/nio/ByteBuffer;
|
|
|
|
iput-object v1, p0, Lf/k/a/b/z0/r;->g:Ljava/nio/ByteBuffer;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final reset()V
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/z0/r;->flush()V
|
|
|
|
sget-object v0, Lf/k/a/b/z0/l;->a:Ljava/nio/ByteBuffer;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->f:Ljava/nio/ByteBuffer;
|
|
|
|
sget-object v0, Lf/k/a/b/z0/l$a;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->d:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->e:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->b:Lf/k/a/b/z0/l$a;
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/r;->c:Lf/k/a/b/z0/l$a;
|
|
|
|
invoke-virtual {p0}, Lf/k/a/b/z0/r;->f()V
|
|
|
|
return-void
|
|
.end method
|