1024 lines
23 KiB
Smali
1024 lines
23 KiB
Smali
.class public final Lco/discord/media_engine/OutboundRtpAudio;
|
|
.super Ljava/lang/Object;
|
|
.source "Statistics.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final audioDetected:Z
|
|
|
|
.field public final audioLevel:F
|
|
|
|
.field public final bytesSent:J
|
|
|
|
.field public final codec:Lco/discord/media_engine/StatsCodec;
|
|
|
|
.field public final fractionLost:F
|
|
|
|
.field public final framesCaptured:J
|
|
|
|
.field public final framesRendered:J
|
|
|
|
.field public final noiseCancellerProcessTime:J
|
|
|
|
.field public final packetsLost:I
|
|
|
|
.field public final packetsSent:I
|
|
|
|
.field public final ssrc:I
|
|
|
|
.field public final type:Ljava/lang/String;
|
|
|
|
.field public final voiceActivityDetectorProcessTime:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;ILco/discord/media_engine/StatsCodec;JIIFFZJJJJ)V
|
|
.locals 4
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p3
|
|
|
|
const-string/jumbo v3, "type"
|
|
|
|
invoke-static {p1, v3}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v3, "codec"
|
|
|
|
invoke-static {p3, v3}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->type:Ljava/lang/String;
|
|
|
|
move v1, p2
|
|
|
|
iput v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->ssrc:I
|
|
|
|
iput-object v2, v0, Lco/discord/media_engine/OutboundRtpAudio;->codec:Lco/discord/media_engine/StatsCodec;
|
|
|
|
move-wide v1, p4
|
|
|
|
iput-wide v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->bytesSent:J
|
|
|
|
move v1, p6
|
|
|
|
iput v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->packetsSent:I
|
|
|
|
move v1, p7
|
|
|
|
iput v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->packetsLost:I
|
|
|
|
move v1, p8
|
|
|
|
iput v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->fractionLost:F
|
|
|
|
move v1, p9
|
|
|
|
iput v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->audioLevel:F
|
|
|
|
move v1, p10
|
|
|
|
iput-boolean v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->audioDetected:Z
|
|
|
|
move-wide v1, p11
|
|
|
|
iput-wide v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->framesCaptured:J
|
|
|
|
move-wide/from16 v1, p13
|
|
|
|
iput-wide v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->framesRendered:J
|
|
|
|
move-wide/from16 v1, p15
|
|
|
|
iput-wide v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->noiseCancellerProcessTime:J
|
|
|
|
move-wide/from16 v1, p17
|
|
|
|
iput-wide v1, v0, Lco/discord/media_engine/OutboundRtpAudio;->voiceActivityDetectorProcessTime:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lco/discord/media_engine/OutboundRtpAudio;Ljava/lang/String;ILco/discord/media_engine/StatsCodec;JIIFFZJJJJILjava/lang/Object;)Lco/discord/media_engine/OutboundRtpAudio;
|
|
.locals 16
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move/from16 v1, p19
|
|
|
|
and-int/lit8 v2, v1, 0x1
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object v2, v0, Lco/discord/media_engine/OutboundRtpAudio;->type:Ljava/lang/String;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object/from16 v2, p1
|
|
|
|
:goto_0
|
|
and-int/lit8 v3, v1, 0x2
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
iget v3, v0, Lco/discord/media_engine/OutboundRtpAudio;->ssrc:I
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move/from16 v3, p2
|
|
|
|
:goto_1
|
|
and-int/lit8 v4, v1, 0x4
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
iget-object v4, v0, Lco/discord/media_engine/OutboundRtpAudio;->codec:Lco/discord/media_engine/StatsCodec;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object/from16 v4, p3
|
|
|
|
:goto_2
|
|
and-int/lit8 v5, v1, 0x8
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
iget-wide v5, v0, Lco/discord/media_engine/OutboundRtpAudio;->bytesSent:J
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move-wide/from16 v5, p4
|
|
|
|
:goto_3
|
|
and-int/lit8 v7, v1, 0x10
|
|
|
|
if-eqz v7, :cond_4
|
|
|
|
iget v7, v0, Lco/discord/media_engine/OutboundRtpAudio;->packetsSent:I
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move/from16 v7, p6
|
|
|
|
:goto_4
|
|
and-int/lit8 v8, v1, 0x20
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
iget v8, v0, Lco/discord/media_engine/OutboundRtpAudio;->packetsLost:I
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
move/from16 v8, p7
|
|
|
|
:goto_5
|
|
and-int/lit8 v9, v1, 0x40
|
|
|
|
if-eqz v9, :cond_6
|
|
|
|
iget v9, v0, Lco/discord/media_engine/OutboundRtpAudio;->fractionLost:F
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
move/from16 v9, p8
|
|
|
|
:goto_6
|
|
and-int/lit16 v10, v1, 0x80
|
|
|
|
if-eqz v10, :cond_7
|
|
|
|
iget v10, v0, Lco/discord/media_engine/OutboundRtpAudio;->audioLevel:F
|
|
|
|
goto :goto_7
|
|
|
|
:cond_7
|
|
move/from16 v10, p9
|
|
|
|
:goto_7
|
|
and-int/lit16 v11, v1, 0x100
|
|
|
|
if-eqz v11, :cond_8
|
|
|
|
iget-boolean v11, v0, Lco/discord/media_engine/OutboundRtpAudio;->audioDetected:Z
|
|
|
|
goto :goto_8
|
|
|
|
:cond_8
|
|
move/from16 v11, p10
|
|
|
|
:goto_8
|
|
and-int/lit16 v12, v1, 0x200
|
|
|
|
if-eqz v12, :cond_9
|
|
|
|
iget-wide v12, v0, Lco/discord/media_engine/OutboundRtpAudio;->framesCaptured:J
|
|
|
|
goto :goto_9
|
|
|
|
:cond_9
|
|
move-wide/from16 v12, p11
|
|
|
|
:goto_9
|
|
and-int/lit16 v14, v1, 0x400
|
|
|
|
if-eqz v14, :cond_a
|
|
|
|
iget-wide v14, v0, Lco/discord/media_engine/OutboundRtpAudio;->framesRendered:J
|
|
|
|
goto :goto_a
|
|
|
|
:cond_a
|
|
move-wide/from16 v14, p13
|
|
|
|
:goto_a
|
|
move-wide/from16 p13, v14
|
|
|
|
and-int/lit16 v14, v1, 0x800
|
|
|
|
if-eqz v14, :cond_b
|
|
|
|
iget-wide v14, v0, Lco/discord/media_engine/OutboundRtpAudio;->noiseCancellerProcessTime:J
|
|
|
|
goto :goto_b
|
|
|
|
:cond_b
|
|
move-wide/from16 v14, p15
|
|
|
|
:goto_b
|
|
and-int/lit16 v1, v1, 0x1000
|
|
|
|
move-wide/from16 p15, v14
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
iget-wide v14, v0, Lco/discord/media_engine/OutboundRtpAudio;->voiceActivityDetectorProcessTime:J
|
|
|
|
goto :goto_c
|
|
|
|
:cond_c
|
|
move-wide/from16 v14, p17
|
|
|
|
:goto_c
|
|
move-object/from16 p1, v2
|
|
|
|
move/from16 p2, v3
|
|
|
|
move-object/from16 p3, v4
|
|
|
|
move-wide/from16 p4, v5
|
|
|
|
move/from16 p6, v7
|
|
|
|
move/from16 p7, v8
|
|
|
|
move/from16 p8, v9
|
|
|
|
move/from16 p9, v10
|
|
|
|
move/from16 p10, v11
|
|
|
|
move-wide/from16 p11, v12
|
|
|
|
move-wide/from16 p17, v14
|
|
|
|
invoke-virtual/range {p0 .. p18}, Lco/discord/media_engine/OutboundRtpAudio;->copy(Ljava/lang/String;ILco/discord/media_engine/StatsCodec;JIIFFZJJJJ)Lco/discord/media_engine/OutboundRtpAudio;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->type:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component10()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesCaptured:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component11()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesRendered:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component12()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->noiseCancellerProcessTime:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component13()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->voiceActivityDetectorProcessTime:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component2()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->ssrc:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component3()Lco/discord/media_engine/StatsCodec;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->codec:Lco/discord/media_engine/StatsCodec;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component4()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->bytesSent:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component5()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsSent:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component6()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsLost:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component7()F
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->fractionLost:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component8()F
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioLevel:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component9()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioDetected:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final copy(Ljava/lang/String;ILco/discord/media_engine/StatsCodec;JIIFFZJJJJ)Lco/discord/media_engine/OutboundRtpAudio;
|
|
.locals 21
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move/from16 v2, p2
|
|
|
|
move-object/from16 v3, p3
|
|
|
|
move-wide/from16 v4, p4
|
|
|
|
move/from16 v6, p6
|
|
|
|
move/from16 v7, p7
|
|
|
|
move/from16 v8, p8
|
|
|
|
move/from16 v9, p9
|
|
|
|
move/from16 v10, p10
|
|
|
|
move-wide/from16 v11, p11
|
|
|
|
move-wide/from16 v13, p13
|
|
|
|
move-wide/from16 v15, p15
|
|
|
|
move-wide/from16 v17, p17
|
|
|
|
const-string/jumbo v0, "type"
|
|
|
|
move-object/from16 v19, v1
|
|
|
|
invoke-static {v1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "codec"
|
|
|
|
move-object/from16 v1, p3
|
|
|
|
invoke-static {v1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v20, Lco/discord/media_engine/OutboundRtpAudio;
|
|
|
|
move-object/from16 v0, v20
|
|
|
|
move-object/from16 v1, v19
|
|
|
|
invoke-direct/range {v0 .. v18}, Lco/discord/media_engine/OutboundRtpAudio;-><init>(Ljava/lang/String;ILco/discord/media_engine/StatsCodec;JIIFFZJJJJ)V
|
|
|
|
return-object v20
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 7
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p0, p1, :cond_a
|
|
|
|
instance-of v1, p1, Lco/discord/media_engine/OutboundRtpAudio;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
check-cast p1, Lco/discord/media_engine/OutboundRtpAudio;
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->type:Ljava/lang/String;
|
|
|
|
iget-object v3, p1, Lco/discord/media_engine/OutboundRtpAudio;->type:Ljava/lang/String;
|
|
|
|
invoke-static {v1, v3}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->ssrc:I
|
|
|
|
iget v3, p1, Lco/discord/media_engine/OutboundRtpAudio;->ssrc:I
|
|
|
|
if-ne v1, v3, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v1, :cond_9
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->codec:Lco/discord/media_engine/StatsCodec;
|
|
|
|
iget-object v3, p1, Lco/discord/media_engine/OutboundRtpAudio;->codec:Lco/discord/media_engine/StatsCodec;
|
|
|
|
invoke-static {v1, v3}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
iget-wide v3, p0, Lco/discord/media_engine/OutboundRtpAudio;->bytesSent:J
|
|
|
|
iget-wide v5, p1, Lco/discord/media_engine/OutboundRtpAudio;->bytesSent:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v1, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v1, :cond_9
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsSent:I
|
|
|
|
iget v3, p1, Lco/discord/media_engine/OutboundRtpAudio;->packetsSent:I
|
|
|
|
if-ne v1, v3, :cond_2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v1, 0x0
|
|
|
|
:goto_2
|
|
if-eqz v1, :cond_9
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsLost:I
|
|
|
|
iget v3, p1, Lco/discord/media_engine/OutboundRtpAudio;->packetsLost:I
|
|
|
|
if-ne v1, v3, :cond_3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 v1, 0x0
|
|
|
|
:goto_3
|
|
if-eqz v1, :cond_9
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->fractionLost:F
|
|
|
|
iget v3, p1, Lco/discord/media_engine/OutboundRtpAudio;->fractionLost:F
|
|
|
|
invoke-static {v1, v3}, Ljava/lang/Float;->compare(FF)I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_9
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioLevel:F
|
|
|
|
iget v3, p1, Lco/discord/media_engine/OutboundRtpAudio;->audioLevel:F
|
|
|
|
invoke-static {v1, v3}, Ljava/lang/Float;->compare(FF)I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_9
|
|
|
|
iget-boolean v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioDetected:Z
|
|
|
|
iget-boolean v3, p1, Lco/discord/media_engine/OutboundRtpAudio;->audioDetected:Z
|
|
|
|
if-ne v1, v3, :cond_4
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
const/4 v1, 0x0
|
|
|
|
:goto_4
|
|
if-eqz v1, :cond_9
|
|
|
|
iget-wide v3, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesCaptured:J
|
|
|
|
iget-wide v5, p1, Lco/discord/media_engine/OutboundRtpAudio;->framesCaptured:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_5
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
const/4 v1, 0x0
|
|
|
|
:goto_5
|
|
if-eqz v1, :cond_9
|
|
|
|
iget-wide v3, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesRendered:J
|
|
|
|
iget-wide v5, p1, Lco/discord/media_engine/OutboundRtpAudio;->framesRendered:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_6
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
const/4 v1, 0x0
|
|
|
|
:goto_6
|
|
if-eqz v1, :cond_9
|
|
|
|
iget-wide v3, p0, Lco/discord/media_engine/OutboundRtpAudio;->noiseCancellerProcessTime:J
|
|
|
|
iget-wide v5, p1, Lco/discord/media_engine/OutboundRtpAudio;->noiseCancellerProcessTime:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_7
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_7
|
|
const/4 v1, 0x0
|
|
|
|
:goto_7
|
|
if-eqz v1, :cond_9
|
|
|
|
iget-wide v3, p0, Lco/discord/media_engine/OutboundRtpAudio;->voiceActivityDetectorProcessTime:J
|
|
|
|
iget-wide v5, p1, Lco/discord/media_engine/OutboundRtpAudio;->voiceActivityDetectorProcessTime:J
|
|
|
|
cmp-long p1, v3, v5
|
|
|
|
if-nez p1, :cond_8
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_8
|
|
|
|
:cond_8
|
|
const/4 p1, 0x0
|
|
|
|
:goto_8
|
|
if-eqz p1, :cond_9
|
|
|
|
goto :goto_9
|
|
|
|
:cond_9
|
|
return v2
|
|
|
|
:cond_a
|
|
:goto_9
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getAudioDetected()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioDetected:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getAudioLevel()F
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioLevel:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getBytesSent()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->bytesSent:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getCodec()Lco/discord/media_engine/StatsCodec;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->codec:Lco/discord/media_engine/StatsCodec;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getFractionLost()F
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->fractionLost:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getFramesCaptured()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesCaptured:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getFramesRendered()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesRendered:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getNoiseCancellerProcessTime()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->noiseCancellerProcessTime:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getPacketsLost()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsLost:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getPacketsSent()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsSent:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getSsrc()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->ssrc:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getType()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->type:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getVoiceActivityDetectorProcessTime()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->voiceActivityDetectorProcessTime:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->type:Ljava/lang/String;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Lco/discord/media_engine/OutboundRtpAudio;->ssrc:I
|
|
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lco/discord/media_engine/OutboundRtpAudio;->codec:Lco/discord/media_engine/StatsCodec;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-virtual {v2}, Lco/discord/media_engine/StatsCodec;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_1
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-wide v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->bytesSent:J
|
|
|
|
invoke-static {v1, v2}, Ld;->a(J)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsSent:I
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsLost:I
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget v0, p0, Lco/discord/media_engine/OutboundRtpAudio;->fractionLost:F
|
|
|
|
const/16 v2, 0x1f
|
|
|
|
invoke-static {v0, v1, v2}, Lf/e/b/a/a;->m(FII)I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioLevel:F
|
|
|
|
invoke-static {v1, v0, v2}, Lf/e/b/a/a;->m(FII)I
|
|
|
|
move-result v0
|
|
|
|
iget-boolean v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioDetected:Z
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_2
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-wide v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesCaptured:J
|
|
|
|
invoke-static {v1, v2}, Ld;->a(J)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-wide v2, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesRendered:J
|
|
|
|
invoke-static {v2, v3}, Ld;->a(J)I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-wide v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->noiseCancellerProcessTime:J
|
|
|
|
invoke-static {v1, v2}, Ld;->a(J)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-wide v2, p0, Lco/discord/media_engine/OutboundRtpAudio;->voiceActivityDetectorProcessTime:J
|
|
|
|
invoke-static {v2, v3}, Ld;->a(J)I
|
|
|
|
move-result v0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
const-string v0, "OutboundRtpAudio(type="
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->type:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", ssrc="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->ssrc:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", codec="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->codec:Lco/discord/media_engine/StatsCodec;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", bytesSent="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->bytesSent:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", packetsSent="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsSent:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", packetsLost="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->packetsLost:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", fractionLost="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->fractionLost:F
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", audioLevel="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioLevel:F
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", audioDetected="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->audioDetected:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", framesCaptured="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesCaptured:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", framesRendered="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->framesRendered:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", noiseCancellerProcessTime="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->noiseCancellerProcessTime:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", voiceActivityDetectorProcessTime="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lco/discord/media_engine/OutboundRtpAudio;->voiceActivityDetectorProcessTime:J
|
|
|
|
const-string v3, ")"
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lf/e/b/a/a;->u(Ljava/lang/StringBuilder;JLjava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|