discord-jadx/app/src/main/java/co/discord/media_engine/InboundRtpAudio.java

451 lines
18 KiB
Java

package co.discord.media_engine;
import a0.a.a.b;
import b.d.b.a.a;
import d0.z.d.m;
/* compiled from: Statistics.kt */
/* loaded from: classes.dex */
public final class InboundRtpAudio {
private final boolean audioDetected;
private final PlayoutMetric audioJitterBuffer;
private final PlayoutMetric audioJitterDelay;
private final PlayoutMetric audioJitterTarget;
private final float audioLevel;
private final PlayoutMetric audioPlayoutUnderruns;
private final long bytesReceived;
private final StatsCodec codec;
private final int decodingCNG;
private final int decodingMutedOutput;
private final int decodingNormal;
private final int decodingPLC;
private final int decodingPLCCNG;
private final long delayEstimate;
private final long jitter;
private final long jitterBuffer;
private final long jitterBufferPreferred;
private final Long opAccelerate;
private final Long opCNG;
private final Long opExpand;
private final Long opMerge;
private final Long opNormal;
private final Long opPreemptiveExpand;
private final Long opSilence;
private final long packetsLost;
private final long packetsReceived;
private final PlayoutMetric relativePlayoutDelay;
private final PlayoutMetric relativeReceptionDelay;
private final long ssrc;
private final String type;
public InboundRtpAudio(String str, long j, StatsCodec statsCodec, long j2, long j3, long j4, float f, boolean z2, long j5, long j6, long j7, long j8, int i, int i2, int i3, int i4, int i5, Long l, Long l2, Long l3, Long l4, Long l5, Long l6, Long l7, PlayoutMetric playoutMetric, PlayoutMetric playoutMetric2, PlayoutMetric playoutMetric3, PlayoutMetric playoutMetric4, PlayoutMetric playoutMetric5, PlayoutMetric playoutMetric6) {
m.checkNotNullParameter(str, "type");
m.checkNotNullParameter(statsCodec, "codec");
this.type = str;
this.ssrc = j;
this.codec = statsCodec;
this.bytesReceived = j2;
this.packetsReceived = j3;
this.packetsLost = j4;
this.audioLevel = f;
this.audioDetected = z2;
this.jitter = j5;
this.jitterBuffer = j6;
this.jitterBufferPreferred = j7;
this.delayEstimate = j8;
this.decodingCNG = i;
this.decodingMutedOutput = i2;
this.decodingNormal = i3;
this.decodingPLC = i4;
this.decodingPLCCNG = i5;
this.opSilence = l;
this.opNormal = l2;
this.opMerge = l3;
this.opExpand = l4;
this.opAccelerate = l5;
this.opPreemptiveExpand = l6;
this.opCNG = l7;
this.audioJitterBuffer = playoutMetric;
this.audioJitterDelay = playoutMetric2;
this.audioJitterTarget = playoutMetric3;
this.audioPlayoutUnderruns = playoutMetric4;
this.relativeReceptionDelay = playoutMetric5;
this.relativePlayoutDelay = playoutMetric6;
}
public static /* synthetic */ InboundRtpAudio copy$default(InboundRtpAudio inboundRtpAudio, String str, long j, StatsCodec statsCodec, long j2, long j3, long j4, float f, boolean z2, long j5, long j6, long j7, long j8, int i, int i2, int i3, int i4, int i5, Long l, Long l2, Long l3, Long l4, Long l5, Long l6, Long l7, PlayoutMetric playoutMetric, PlayoutMetric playoutMetric2, PlayoutMetric playoutMetric3, PlayoutMetric playoutMetric4, PlayoutMetric playoutMetric5, PlayoutMetric playoutMetric6, int i6, Object obj) {
return inboundRtpAudio.copy((i6 & 1) != 0 ? inboundRtpAudio.type : str, (i6 & 2) != 0 ? inboundRtpAudio.ssrc : j, (i6 & 4) != 0 ? inboundRtpAudio.codec : statsCodec, (i6 & 8) != 0 ? inboundRtpAudio.bytesReceived : j2, (i6 & 16) != 0 ? inboundRtpAudio.packetsReceived : j3, (i6 & 32) != 0 ? inboundRtpAudio.packetsLost : j4, (i6 & 64) != 0 ? inboundRtpAudio.audioLevel : f, (i6 & 128) != 0 ? inboundRtpAudio.audioDetected : z2, (i6 & 256) != 0 ? inboundRtpAudio.jitter : j5, (i6 & 512) != 0 ? inboundRtpAudio.jitterBuffer : j6, (i6 & 1024) != 0 ? inboundRtpAudio.jitterBufferPreferred : j7, (i6 & 2048) != 0 ? inboundRtpAudio.delayEstimate : j8, (i6 & 4096) != 0 ? inboundRtpAudio.decodingCNG : i, (i6 & 8192) != 0 ? inboundRtpAudio.decodingMutedOutput : i2, (i6 & 16384) != 0 ? inboundRtpAudio.decodingNormal : i3, (i6 & 32768) != 0 ? inboundRtpAudio.decodingPLC : i4, (i6 & 65536) != 0 ? inboundRtpAudio.decodingPLCCNG : i5, (i6 & 131072) != 0 ? inboundRtpAudio.opSilence : l, (i6 & 262144) != 0 ? inboundRtpAudio.opNormal : l2, (i6 & 524288) != 0 ? inboundRtpAudio.opMerge : l3, (i6 & 1048576) != 0 ? inboundRtpAudio.opExpand : l4, (i6 & 2097152) != 0 ? inboundRtpAudio.opAccelerate : l5, (i6 & 4194304) != 0 ? inboundRtpAudio.opPreemptiveExpand : l6, (i6 & 8388608) != 0 ? inboundRtpAudio.opCNG : l7, (i6 & 16777216) != 0 ? inboundRtpAudio.audioJitterBuffer : playoutMetric, (i6 & 33554432) != 0 ? inboundRtpAudio.audioJitterDelay : playoutMetric2, (i6 & 67108864) != 0 ? inboundRtpAudio.audioJitterTarget : playoutMetric3, (i6 & 134217728) != 0 ? inboundRtpAudio.audioPlayoutUnderruns : playoutMetric4, (i6 & 268435456) != 0 ? inboundRtpAudio.relativeReceptionDelay : playoutMetric5, (i6 & 536870912) != 0 ? inboundRtpAudio.relativePlayoutDelay : playoutMetric6);
}
public final String component1() {
return this.type;
}
public final long component10() {
return this.jitterBuffer;
}
public final long component11() {
return this.jitterBufferPreferred;
}
public final long component12() {
return this.delayEstimate;
}
public final int component13() {
return this.decodingCNG;
}
public final int component14() {
return this.decodingMutedOutput;
}
public final int component15() {
return this.decodingNormal;
}
public final int component16() {
return this.decodingPLC;
}
public final int component17() {
return this.decodingPLCCNG;
}
public final Long component18() {
return this.opSilence;
}
public final Long component19() {
return this.opNormal;
}
public final long component2() {
return this.ssrc;
}
public final Long component20() {
return this.opMerge;
}
public final Long component21() {
return this.opExpand;
}
public final Long component22() {
return this.opAccelerate;
}
public final Long component23() {
return this.opPreemptiveExpand;
}
public final Long component24() {
return this.opCNG;
}
public final PlayoutMetric component25() {
return this.audioJitterBuffer;
}
public final PlayoutMetric component26() {
return this.audioJitterDelay;
}
public final PlayoutMetric component27() {
return this.audioJitterTarget;
}
public final PlayoutMetric component28() {
return this.audioPlayoutUnderruns;
}
public final PlayoutMetric component29() {
return this.relativeReceptionDelay;
}
public final StatsCodec component3() {
return this.codec;
}
public final PlayoutMetric component30() {
return this.relativePlayoutDelay;
}
public final long component4() {
return this.bytesReceived;
}
public final long component5() {
return this.packetsReceived;
}
public final long component6() {
return this.packetsLost;
}
public final float component7() {
return this.audioLevel;
}
public final boolean component8() {
return this.audioDetected;
}
public final long component9() {
return this.jitter;
}
public final InboundRtpAudio copy(String str, long j, StatsCodec statsCodec, long j2, long j3, long j4, float f, boolean z2, long j5, long j6, long j7, long j8, int i, int i2, int i3, int i4, int i5, Long l, Long l2, Long l3, Long l4, Long l5, Long l6, Long l7, PlayoutMetric playoutMetric, PlayoutMetric playoutMetric2, PlayoutMetric playoutMetric3, PlayoutMetric playoutMetric4, PlayoutMetric playoutMetric5, PlayoutMetric playoutMetric6) {
m.checkNotNullParameter(str, "type");
m.checkNotNullParameter(statsCodec, "codec");
return new InboundRtpAudio(str, j, statsCodec, j2, j3, j4, f, z2, j5, j6, j7, j8, i, i2, i3, i4, i5, l, l2, l3, l4, l5, l6, l7, playoutMetric, playoutMetric2, playoutMetric3, playoutMetric4, playoutMetric5, playoutMetric6);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof InboundRtpAudio)) {
return false;
}
InboundRtpAudio inboundRtpAudio = (InboundRtpAudio) obj;
return m.areEqual(this.type, inboundRtpAudio.type) && this.ssrc == inboundRtpAudio.ssrc && m.areEqual(this.codec, inboundRtpAudio.codec) && this.bytesReceived == inboundRtpAudio.bytesReceived && this.packetsReceived == inboundRtpAudio.packetsReceived && this.packetsLost == inboundRtpAudio.packetsLost && Float.compare(this.audioLevel, inboundRtpAudio.audioLevel) == 0 && this.audioDetected == inboundRtpAudio.audioDetected && this.jitter == inboundRtpAudio.jitter && this.jitterBuffer == inboundRtpAudio.jitterBuffer && this.jitterBufferPreferred == inboundRtpAudio.jitterBufferPreferred && this.delayEstimate == inboundRtpAudio.delayEstimate && this.decodingCNG == inboundRtpAudio.decodingCNG && this.decodingMutedOutput == inboundRtpAudio.decodingMutedOutput && this.decodingNormal == inboundRtpAudio.decodingNormal && this.decodingPLC == inboundRtpAudio.decodingPLC && this.decodingPLCCNG == inboundRtpAudio.decodingPLCCNG && m.areEqual(this.opSilence, inboundRtpAudio.opSilence) && m.areEqual(this.opNormal, inboundRtpAudio.opNormal) && m.areEqual(this.opMerge, inboundRtpAudio.opMerge) && m.areEqual(this.opExpand, inboundRtpAudio.opExpand) && m.areEqual(this.opAccelerate, inboundRtpAudio.opAccelerate) && m.areEqual(this.opPreemptiveExpand, inboundRtpAudio.opPreemptiveExpand) && m.areEqual(this.opCNG, inboundRtpAudio.opCNG) && m.areEqual(this.audioJitterBuffer, inboundRtpAudio.audioJitterBuffer) && m.areEqual(this.audioJitterDelay, inboundRtpAudio.audioJitterDelay) && m.areEqual(this.audioJitterTarget, inboundRtpAudio.audioJitterTarget) && m.areEqual(this.audioPlayoutUnderruns, inboundRtpAudio.audioPlayoutUnderruns) && m.areEqual(this.relativeReceptionDelay, inboundRtpAudio.relativeReceptionDelay) && m.areEqual(this.relativePlayoutDelay, inboundRtpAudio.relativePlayoutDelay);
}
public final boolean getAudioDetected() {
return this.audioDetected;
}
public final PlayoutMetric getAudioJitterBuffer() {
return this.audioJitterBuffer;
}
public final PlayoutMetric getAudioJitterDelay() {
return this.audioJitterDelay;
}
public final PlayoutMetric getAudioJitterTarget() {
return this.audioJitterTarget;
}
public final float getAudioLevel() {
return this.audioLevel;
}
public final PlayoutMetric getAudioPlayoutUnderruns() {
return this.audioPlayoutUnderruns;
}
public final long getBytesReceived() {
return this.bytesReceived;
}
public final StatsCodec getCodec() {
return this.codec;
}
public final int getDecodingCNG() {
return this.decodingCNG;
}
public final int getDecodingMutedOutput() {
return this.decodingMutedOutput;
}
public final int getDecodingNormal() {
return this.decodingNormal;
}
public final int getDecodingPLC() {
return this.decodingPLC;
}
public final int getDecodingPLCCNG() {
return this.decodingPLCCNG;
}
public final long getDelayEstimate() {
return this.delayEstimate;
}
public final long getJitter() {
return this.jitter;
}
public final long getJitterBuffer() {
return this.jitterBuffer;
}
public final long getJitterBufferPreferred() {
return this.jitterBufferPreferred;
}
public final Long getOpAccelerate() {
return this.opAccelerate;
}
public final Long getOpCNG() {
return this.opCNG;
}
public final Long getOpExpand() {
return this.opExpand;
}
public final Long getOpMerge() {
return this.opMerge;
}
public final Long getOpNormal() {
return this.opNormal;
}
public final Long getOpPreemptiveExpand() {
return this.opPreemptiveExpand;
}
public final Long getOpSilence() {
return this.opSilence;
}
public final long getPacketsLost() {
return this.packetsLost;
}
public final long getPacketsReceived() {
return this.packetsReceived;
}
public final PlayoutMetric getRelativePlayoutDelay() {
return this.relativePlayoutDelay;
}
public final PlayoutMetric getRelativeReceptionDelay() {
return this.relativeReceptionDelay;
}
public final long getSsrc() {
return this.ssrc;
}
public final String getType() {
return this.type;
}
public int hashCode() {
String str = this.type;
int i = 0;
int a = (b.a(this.ssrc) + ((str != null ? str.hashCode() : 0) * 31)) * 31;
StatsCodec statsCodec = this.codec;
int hashCode = statsCodec != null ? statsCodec.hashCode() : 0;
int a2 = b.a(this.bytesReceived);
int a3 = b.a(this.packetsReceived);
int floatToIntBits = (Float.floatToIntBits(this.audioLevel) + ((b.a(this.packetsLost) + ((a3 + ((a2 + ((a + hashCode) * 31)) * 31)) * 31)) * 31)) * 31;
boolean z2 = this.audioDetected;
if (z2) {
z2 = true;
}
int i2 = z2 ? 1 : 0;
int i3 = z2 ? 1 : 0;
int i4 = z2 ? 1 : 0;
int a4 = b.a(this.jitter);
int a5 = b.a(this.jitterBuffer);
int a6 = (((((((((((b.a(this.delayEstimate) + ((b.a(this.jitterBufferPreferred) + ((a5 + ((a4 + ((floatToIntBits + i2) * 31)) * 31)) * 31)) * 31)) * 31) + this.decodingCNG) * 31) + this.decodingMutedOutput) * 31) + this.decodingNormal) * 31) + this.decodingPLC) * 31) + this.decodingPLCCNG) * 31;
Long l = this.opSilence;
int hashCode2 = (a6 + (l != null ? l.hashCode() : 0)) * 31;
Long l2 = this.opNormal;
int hashCode3 = (hashCode2 + (l2 != null ? l2.hashCode() : 0)) * 31;
Long l3 = this.opMerge;
int hashCode4 = (hashCode3 + (l3 != null ? l3.hashCode() : 0)) * 31;
Long l4 = this.opExpand;
int hashCode5 = (hashCode4 + (l4 != null ? l4.hashCode() : 0)) * 31;
Long l5 = this.opAccelerate;
int hashCode6 = (hashCode5 + (l5 != null ? l5.hashCode() : 0)) * 31;
Long l6 = this.opPreemptiveExpand;
int hashCode7 = (hashCode6 + (l6 != null ? l6.hashCode() : 0)) * 31;
Long l7 = this.opCNG;
int hashCode8 = (hashCode7 + (l7 != null ? l7.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric = this.audioJitterBuffer;
int hashCode9 = (hashCode8 + (playoutMetric != null ? playoutMetric.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric2 = this.audioJitterDelay;
int hashCode10 = (hashCode9 + (playoutMetric2 != null ? playoutMetric2.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric3 = this.audioJitterTarget;
int hashCode11 = (hashCode10 + (playoutMetric3 != null ? playoutMetric3.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric4 = this.audioPlayoutUnderruns;
int hashCode12 = (hashCode11 + (playoutMetric4 != null ? playoutMetric4.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric5 = this.relativeReceptionDelay;
int hashCode13 = (hashCode12 + (playoutMetric5 != null ? playoutMetric5.hashCode() : 0)) * 31;
PlayoutMetric playoutMetric6 = this.relativePlayoutDelay;
if (playoutMetric6 != null) {
i = playoutMetric6.hashCode();
}
return hashCode13 + i;
}
public String toString() {
StringBuilder R = a.R("InboundRtpAudio(type=");
R.append(this.type);
R.append(", ssrc=");
R.append(this.ssrc);
R.append(", codec=");
R.append(this.codec);
R.append(", bytesReceived=");
R.append(this.bytesReceived);
R.append(", packetsReceived=");
R.append(this.packetsReceived);
R.append(", packetsLost=");
R.append(this.packetsLost);
R.append(", audioLevel=");
R.append(this.audioLevel);
R.append(", audioDetected=");
R.append(this.audioDetected);
R.append(", jitter=");
R.append(this.jitter);
R.append(", jitterBuffer=");
R.append(this.jitterBuffer);
R.append(", jitterBufferPreferred=");
R.append(this.jitterBufferPreferred);
R.append(", delayEstimate=");
R.append(this.delayEstimate);
R.append(", decodingCNG=");
R.append(this.decodingCNG);
R.append(", decodingMutedOutput=");
R.append(this.decodingMutedOutput);
R.append(", decodingNormal=");
R.append(this.decodingNormal);
R.append(", decodingPLC=");
R.append(this.decodingPLC);
R.append(", decodingPLCCNG=");
R.append(this.decodingPLCCNG);
R.append(", opSilence=");
R.append(this.opSilence);
R.append(", opNormal=");
R.append(this.opNormal);
R.append(", opMerge=");
R.append(this.opMerge);
R.append(", opExpand=");
R.append(this.opExpand);
R.append(", opAccelerate=");
R.append(this.opAccelerate);
R.append(", opPreemptiveExpand=");
R.append(this.opPreemptiveExpand);
R.append(", opCNG=");
R.append(this.opCNG);
R.append(", audioJitterBuffer=");
R.append(this.audioJitterBuffer);
R.append(", audioJitterDelay=");
R.append(this.audioJitterDelay);
R.append(", audioJitterTarget=");
R.append(this.audioJitterTarget);
R.append(", audioPlayoutUnderruns=");
R.append(this.audioPlayoutUnderruns);
R.append(", relativeReceptionDelay=");
R.append(this.relativeReceptionDelay);
R.append(", relativePlayoutDelay=");
R.append(this.relativePlayoutDelay);
R.append(")");
return R.toString();
}
}