424 lines
13 KiB
Smali
424 lines
13 KiB
Smali
.class public final Lco/discord/media_engine/InboundBufferStats;
|
|
.super Ljava/lang/Object;
|
|
.source "VoiceQuality.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final audioJitterBuffer:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
.field public final audioJitterDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
.field public final audioJitterTarget:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
.field public final relativePlayoutDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
.field public final relativeReceptionDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterBuffer:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
iput-object p2, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterTarget:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
iput-object p3, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
iput-object p4, p0, Lco/discord/media_engine/InboundBufferStats;->relativeReceptionDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
iput-object p5, p0, Lco/discord/media_engine/InboundBufferStats;->relativePlayoutDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lco/discord/media_engine/InboundBufferStats;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;ILjava/lang/Object;)Lco/discord/media_engine/InboundBufferStats;
|
|
.locals 3
|
|
|
|
and-int/lit8 p7, p6, 0x1
|
|
|
|
if-eqz p7, :cond_0
|
|
|
|
iget-object p1, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterBuffer:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
:cond_0
|
|
and-int/lit8 p7, p6, 0x2
|
|
|
|
if-eqz p7, :cond_1
|
|
|
|
iget-object p2, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterTarget:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
:cond_1
|
|
move-object p7, p2
|
|
|
|
and-int/lit8 p2, p6, 0x4
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
iget-object p3, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
:cond_2
|
|
move-object v0, p3
|
|
|
|
and-int/lit8 p2, p6, 0x8
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
iget-object p4, p0, Lco/discord/media_engine/InboundBufferStats;->relativeReceptionDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
:cond_3
|
|
move-object v1, p4
|
|
|
|
and-int/lit8 p2, p6, 0x10
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
iget-object p5, p0, Lco/discord/media_engine/InboundBufferStats;->relativePlayoutDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
:cond_4
|
|
move-object v2, p5
|
|
|
|
move-object p2, p0
|
|
|
|
move-object p3, p1
|
|
|
|
move-object p4, p7
|
|
|
|
move-object p5, v0
|
|
|
|
move-object p6, v1
|
|
|
|
move-object p7, v2
|
|
|
|
invoke-virtual/range {p2 .. p7}, Lco/discord/media_engine/InboundBufferStats;->copy(Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;)Lco/discord/media_engine/InboundBufferStats;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterBuffer:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component2()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterTarget:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component3()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component4()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->relativeReceptionDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component5()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->relativePlayoutDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;)Lco/discord/media_engine/InboundBufferStats;
|
|
.locals 7
|
|
|
|
new-instance v6, Lco/discord/media_engine/InboundBufferStats;
|
|
|
|
move-object v0, v6
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
move-object v3, p3
|
|
|
|
move-object v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
invoke-direct/range {v0 .. v5}, Lco/discord/media_engine/InboundBufferStats;-><init>(Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;Lco/discord/media_engine/PlayoutMetric;)V
|
|
|
|
return-object v6
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lco/discord/media_engine/InboundBufferStats;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lco/discord/media_engine/InboundBufferStats;
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterBuffer:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
iget-object v1, p1, Lco/discord/media_engine/InboundBufferStats;->audioJitterBuffer:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterTarget:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
iget-object v1, p1, Lco/discord/media_engine/InboundBufferStats;->audioJitterTarget:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
iget-object v1, p1, Lco/discord/media_engine/InboundBufferStats;->audioJitterDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->relativeReceptionDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
iget-object v1, p1, Lco/discord/media_engine/InboundBufferStats;->relativeReceptionDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-static {v0, v1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->relativePlayoutDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
iget-object p1, p1, Lco/discord/media_engine/InboundBufferStats;->relativePlayoutDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-static {v0, p1}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final getAudioJitterBuffer()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterBuffer:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getAudioJitterDelay()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getAudioJitterTarget()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterTarget:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getRelativePlayoutDelay()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->relativePlayoutDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getRelativeReceptionDelay()Lco/discord/media_engine/PlayoutMetric;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->relativeReceptionDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterBuffer:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lco/discord/media_engine/PlayoutMetric;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterTarget:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-virtual {v2}, Lco/discord/media_engine/PlayoutMetric;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-virtual {v2}, Lco/discord/media_engine/PlayoutMetric;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lco/discord/media_engine/InboundBufferStats;->relativeReceptionDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
invoke-virtual {v2}, Lco/discord/media_engine/PlayoutMetric;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 v2, 0x0
|
|
|
|
:goto_3
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lco/discord/media_engine/InboundBufferStats;->relativePlayoutDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
invoke-virtual {v2}, Lco/discord/media_engine/PlayoutMetric;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_4
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "InboundBufferStats(audioJitterBuffer="
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterBuffer:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", audioJitterTarget="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterTarget:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", audioJitterDelay="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/InboundBufferStats;->audioJitterDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", relativeReceptionDelay="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/InboundBufferStats;->relativeReceptionDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", relativePlayoutDelay="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/InboundBufferStats;->relativePlayoutDelay:Lco/discord/media_engine/PlayoutMetric;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|