discord-jadx/app/src/main/java/co/discord/media_engine/internal/OutboundAudio.java

355 lines
14 KiB
Java

package co.discord.media_engine.internal;
import a0.a.a.a;
import a0.a.a.b;
import d0.z.d.m;
/* compiled from: NativeStatistics.kt */
public final class OutboundAudio {
private final int audioLevel;
private final long bytesSent;
private final String codecName;
private final int codecPayloadType;
private final int delayMedian;
private final int delayStd;
private final double echoReturnLoss;
private final double echoReturnLossEnchancement;
private final float fractionLost;
private final long framesCaptured;
private final long framesRendered;
private final int jitter;
private final Boolean noiseCancellerIsEnabled;
private final Long noiseCancellerProcessTime;
private final int packetsLost;
private final long packetsSent;
private final double residualEchoLikelihood;
private final double residualEchoLikelihoodRecentMax;
private final long rtt;
private final long speaking;
private final long ssrc;
private final boolean typingNoiseDetected;
private final Boolean voiceActivityDetectorIsEnabled;
private final Long voiceActivityDetectorProcessTime;
public OutboundAudio(int i, long j, String str, int i2, int i3, int i4, double d, double d2, float f, int i5, int i6, long j2, double d3, double d4, long j3, long j4, long j5, boolean z2, long j6, long j7, Boolean bool, Long l, Boolean bool2, Long l2) {
m.checkNotNullParameter(str, "codecName");
this.audioLevel = i;
this.bytesSent = j;
this.codecName = str;
this.codecPayloadType = i2;
this.delayMedian = i3;
this.delayStd = i4;
this.echoReturnLoss = d;
this.echoReturnLossEnchancement = d2;
this.fractionLost = f;
this.jitter = i5;
this.packetsLost = i6;
this.packetsSent = j2;
this.residualEchoLikelihood = d3;
this.residualEchoLikelihoodRecentMax = d4;
this.rtt = j3;
this.speaking = j4;
this.ssrc = j5;
this.typingNoiseDetected = z2;
this.framesCaptured = j6;
this.framesRendered = j7;
this.noiseCancellerIsEnabled = bool;
this.noiseCancellerProcessTime = l;
this.voiceActivityDetectorIsEnabled = bool2;
this.voiceActivityDetectorProcessTime = l2;
}
public static /* synthetic */ OutboundAudio copy$default(OutboundAudio outboundAudio, int i, long j, String str, int i2, int i3, int i4, double d, double d2, float f, int i5, int i6, long j2, double d3, double d4, long j3, long j4, long j5, boolean z2, long j6, long j7, Boolean bool, Long l, Boolean bool2, Long l2, int i7, Object obj) {
return outboundAudio.copy((i7 & 1) != 0 ? outboundAudio.audioLevel : i, (i7 & 2) != 0 ? outboundAudio.bytesSent : j, (i7 & 4) != 0 ? outboundAudio.codecName : str, (i7 & 8) != 0 ? outboundAudio.codecPayloadType : i2, (i7 & 16) != 0 ? outboundAudio.delayMedian : i3, (i7 & 32) != 0 ? outboundAudio.delayStd : i4, (i7 & 64) != 0 ? outboundAudio.echoReturnLoss : d, (i7 & 128) != 0 ? outboundAudio.echoReturnLossEnchancement : d2, (i7 & 256) != 0 ? outboundAudio.fractionLost : f, (i7 & 512) != 0 ? outboundAudio.jitter : i5, (i7 & 1024) != 0 ? outboundAudio.packetsLost : i6, (i7 & 2048) != 0 ? outboundAudio.packetsSent : j2, (i7 & 4096) != 0 ? outboundAudio.residualEchoLikelihood : d3, (i7 & 8192) != 0 ? outboundAudio.residualEchoLikelihoodRecentMax : d4, (i7 & 16384) != 0 ? outboundAudio.rtt : j3, (i7 & 32768) != 0 ? outboundAudio.speaking : j4, (i7 & 65536) != 0 ? outboundAudio.ssrc : j5, (i7 & 131072) != 0 ? outboundAudio.typingNoiseDetected : z2, (262144 & i7) != 0 ? outboundAudio.framesCaptured : j6, (i7 & 524288) != 0 ? outboundAudio.framesRendered : j7, (i7 & 1048576) != 0 ? outboundAudio.noiseCancellerIsEnabled : bool, (2097152 & i7) != 0 ? outboundAudio.noiseCancellerProcessTime : l, (i7 & 4194304) != 0 ? outboundAudio.voiceActivityDetectorIsEnabled : bool2, (i7 & 8388608) != 0 ? outboundAudio.voiceActivityDetectorProcessTime : l2);
}
public final int component1() {
return this.audioLevel;
}
public final int component10() {
return this.jitter;
}
public final int component11() {
return this.packetsLost;
}
public final long component12() {
return this.packetsSent;
}
public final double component13() {
return this.residualEchoLikelihood;
}
public final double component14() {
return this.residualEchoLikelihoodRecentMax;
}
public final long component15() {
return this.rtt;
}
public final long component16() {
return this.speaking;
}
public final long component17() {
return this.ssrc;
}
public final boolean component18() {
return this.typingNoiseDetected;
}
public final long component19() {
return this.framesCaptured;
}
public final long component2() {
return this.bytesSent;
}
public final long component20() {
return this.framesRendered;
}
public final Boolean component21() {
return this.noiseCancellerIsEnabled;
}
public final Long component22() {
return this.noiseCancellerProcessTime;
}
public final Boolean component23() {
return this.voiceActivityDetectorIsEnabled;
}
public final Long component24() {
return this.voiceActivityDetectorProcessTime;
}
public final String component3() {
return this.codecName;
}
public final int component4() {
return this.codecPayloadType;
}
public final int component5() {
return this.delayMedian;
}
public final int component6() {
return this.delayStd;
}
public final double component7() {
return this.echoReturnLoss;
}
public final double component8() {
return this.echoReturnLossEnchancement;
}
public final float component9() {
return this.fractionLost;
}
public final OutboundAudio copy(int i, long j, String str, int i2, int i3, int i4, double d, double d2, float f, int i5, int i6, long j2, double d3, double d4, long j3, long j4, long j5, boolean z2, long j6, long j7, Boolean bool, Long l, Boolean bool2, Long l2) {
m.checkNotNullParameter(str, "codecName");
return new OutboundAudio(i, j, str, i2, i3, i4, d, d2, f, i5, i6, j2, d3, d4, j3, j4, j5, z2, j6, j7, bool, l, bool2, l2);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof OutboundAudio)) {
return false;
}
OutboundAudio outboundAudio = (OutboundAudio) obj;
return this.audioLevel == outboundAudio.audioLevel && this.bytesSent == outboundAudio.bytesSent && m.areEqual(this.codecName, outboundAudio.codecName) && this.codecPayloadType == outboundAudio.codecPayloadType && this.delayMedian == outboundAudio.delayMedian && this.delayStd == outboundAudio.delayStd && Double.compare(this.echoReturnLoss, outboundAudio.echoReturnLoss) == 0 && Double.compare(this.echoReturnLossEnchancement, outboundAudio.echoReturnLossEnchancement) == 0 && Float.compare(this.fractionLost, outboundAudio.fractionLost) == 0 && this.jitter == outboundAudio.jitter && this.packetsLost == outboundAudio.packetsLost && this.packetsSent == outboundAudio.packetsSent && Double.compare(this.residualEchoLikelihood, outboundAudio.residualEchoLikelihood) == 0 && Double.compare(this.residualEchoLikelihoodRecentMax, outboundAudio.residualEchoLikelihoodRecentMax) == 0 && this.rtt == outboundAudio.rtt && this.speaking == outboundAudio.speaking && this.ssrc == outboundAudio.ssrc && this.typingNoiseDetected == outboundAudio.typingNoiseDetected && this.framesCaptured == outboundAudio.framesCaptured && this.framesRendered == outboundAudio.framesRendered && m.areEqual(this.noiseCancellerIsEnabled, outboundAudio.noiseCancellerIsEnabled) && m.areEqual(this.noiseCancellerProcessTime, outboundAudio.noiseCancellerProcessTime) && m.areEqual(this.voiceActivityDetectorIsEnabled, outboundAudio.voiceActivityDetectorIsEnabled) && m.areEqual(this.voiceActivityDetectorProcessTime, outboundAudio.voiceActivityDetectorProcessTime);
}
public final int getAudioLevel() {
return this.audioLevel;
}
public final long getBytesSent() {
return this.bytesSent;
}
public final String getCodecName() {
return this.codecName;
}
public final int getCodecPayloadType() {
return this.codecPayloadType;
}
public final int getDelayMedian() {
return this.delayMedian;
}
public final int getDelayStd() {
return this.delayStd;
}
public final double getEchoReturnLoss() {
return this.echoReturnLoss;
}
public final double getEchoReturnLossEnchancement() {
return this.echoReturnLossEnchancement;
}
public final float getFractionLost() {
return this.fractionLost;
}
public final long getFramesCaptured() {
return this.framesCaptured;
}
public final long getFramesRendered() {
return this.framesRendered;
}
public final int getJitter() {
return this.jitter;
}
public final Boolean getNoiseCancellerIsEnabled() {
return this.noiseCancellerIsEnabled;
}
public final Long getNoiseCancellerProcessTime() {
return this.noiseCancellerProcessTime;
}
public final int getPacketsLost() {
return this.packetsLost;
}
public final long getPacketsSent() {
return this.packetsSent;
}
public final double getResidualEchoLikelihood() {
return this.residualEchoLikelihood;
}
public final double getResidualEchoLikelihoodRecentMax() {
return this.residualEchoLikelihoodRecentMax;
}
public final long getRtt() {
return this.rtt;
}
public final long getSpeaking() {
return this.speaking;
}
public final long getSsrc() {
return this.ssrc;
}
public final boolean getTypingNoiseDetected() {
return this.typingNoiseDetected;
}
public final Boolean getVoiceActivityDetectorIsEnabled() {
return this.voiceActivityDetectorIsEnabled;
}
public final Long getVoiceActivityDetectorProcessTime() {
return this.voiceActivityDetectorProcessTime;
}
public int hashCode() {
int a = (b.a(this.bytesSent) + (this.audioLevel * 31)) * 31;
String str = this.codecName;
int i = 0;
int hashCode = str != null ? str.hashCode() : 0;
int a2 = a.a(this.echoReturnLoss);
int a3 = a.a(this.echoReturnLossEnchancement);
int floatToIntBits = Float.floatToIntBits(this.fractionLost);
int a4 = b.a(this.packetsSent);
int a5 = (b.a(this.ssrc) + ((b.a(this.speaking) + ((b.a(this.rtt) + ((a.a(this.residualEchoLikelihoodRecentMax) + ((a.a(this.residualEchoLikelihood) + ((a4 + ((((((floatToIntBits + ((a3 + ((a2 + ((((((((a + hashCode) * 31) + this.codecPayloadType) * 31) + this.delayMedian) * 31) + this.delayStd) * 31)) * 31)) * 31)) * 31) + this.jitter) * 31) + this.packetsLost) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31;
boolean z2 = this.typingNoiseDetected;
if (z2) {
z2 = true;
}
int i2 = z2 ? 1 : 0;
int i3 = z2 ? 1 : 0;
int i4 = z2 ? 1 : 0;
int a6 = (b.a(this.framesRendered) + ((b.a(this.framesCaptured) + ((a5 + i2) * 31)) * 31)) * 31;
Boolean bool = this.noiseCancellerIsEnabled;
int hashCode2 = (a6 + (bool != null ? bool.hashCode() : 0)) * 31;
Long l = this.noiseCancellerProcessTime;
int hashCode3 = (hashCode2 + (l != null ? l.hashCode() : 0)) * 31;
Boolean bool2 = this.voiceActivityDetectorIsEnabled;
int hashCode4 = (hashCode3 + (bool2 != null ? bool2.hashCode() : 0)) * 31;
Long l2 = this.voiceActivityDetectorProcessTime;
if (l2 != null) {
i = l2.hashCode();
}
return hashCode4 + i;
}
public String toString() {
StringBuilder K = c.d.b.a.a.K("OutboundAudio(audioLevel=");
K.append(this.audioLevel);
K.append(", bytesSent=");
K.append(this.bytesSent);
K.append(", codecName=");
K.append(this.codecName);
K.append(", codecPayloadType=");
K.append(this.codecPayloadType);
K.append(", delayMedian=");
K.append(this.delayMedian);
K.append(", delayStd=");
K.append(this.delayStd);
K.append(", echoReturnLoss=");
K.append(this.echoReturnLoss);
K.append(", echoReturnLossEnchancement=");
K.append(this.echoReturnLossEnchancement);
K.append(", fractionLost=");
K.append(this.fractionLost);
K.append(", jitter=");
K.append(this.jitter);
K.append(", packetsLost=");
K.append(this.packetsLost);
K.append(", packetsSent=");
K.append(this.packetsSent);
K.append(", residualEchoLikelihood=");
K.append(this.residualEchoLikelihood);
K.append(", residualEchoLikelihoodRecentMax=");
K.append(this.residualEchoLikelihoodRecentMax);
K.append(", rtt=");
K.append(this.rtt);
K.append(", speaking=");
K.append(this.speaking);
K.append(", ssrc=");
K.append(this.ssrc);
K.append(", typingNoiseDetected=");
K.append(this.typingNoiseDetected);
K.append(", framesCaptured=");
K.append(this.framesCaptured);
K.append(", framesRendered=");
K.append(this.framesRendered);
K.append(", noiseCancellerIsEnabled=");
K.append(this.noiseCancellerIsEnabled);
K.append(", noiseCancellerProcessTime=");
K.append(this.noiseCancellerProcessTime);
K.append(", voiceActivityDetectorIsEnabled=");
K.append(this.voiceActivityDetectorIsEnabled);
K.append(", voiceActivityDetectorProcessTime=");
return c.d.b.a.a.A(K, this.voiceActivityDetectorProcessTime, ")");
}
}