344 lines
12 KiB
Java
344 lines
12 KiB
Java
|
package co.discord.media_engine.internal;
|
||
|
|
||
|
import a0.a.a.b;
|
||
|
import c.d.b.a.a;
|
||
|
import d0.z.d.m;
|
||
|
/* compiled from: NativeStatistics.kt */
|
||
|
public final class InboundAudio {
|
||
|
private final int audioLevel;
|
||
|
private final long bytesReceived;
|
||
|
private final String codecName;
|
||
|
private final int codecPayloadType;
|
||
|
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 long speaking;
|
||
|
private final long ssrc;
|
||
|
|
||
|
public InboundAudio(int i, long j, String str, int i2, long j2, int i3, int i4, int i5, int i6, int i7, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, long j12, long j13, long j14, long j15, long j16) {
|
||
|
m.checkNotNullParameter(str, "codecName");
|
||
|
this.audioLevel = i;
|
||
|
this.bytesReceived = j;
|
||
|
this.codecName = str;
|
||
|
this.codecPayloadType = i2;
|
||
|
this.delayEstimate = j2;
|
||
|
this.decodingCNG = i3;
|
||
|
this.decodingMutedOutput = i4;
|
||
|
this.decodingNormal = i5;
|
||
|
this.decodingPLC = i6;
|
||
|
this.decodingPLCCNG = i7;
|
||
|
this.jitter = j3;
|
||
|
this.jitterBuffer = j4;
|
||
|
this.jitterBufferPreferred = j5;
|
||
|
this.packetsLost = j6;
|
||
|
this.packetsReceived = j7;
|
||
|
this.opSilence = j8;
|
||
|
this.opNormal = j9;
|
||
|
this.opMerge = j10;
|
||
|
this.opExpand = j11;
|
||
|
this.opAccelerate = j12;
|
||
|
this.opPreemptiveExpand = j13;
|
||
|
this.opCNG = j14;
|
||
|
this.speaking = j15;
|
||
|
this.ssrc = j16;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ InboundAudio copy$default(InboundAudio inboundAudio, int i, long j, String str, int i2, long j2, int i3, int i4, int i5, int i6, int i7, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, long j12, long j13, long j14, long j15, long j16, int i8, Object obj) {
|
||
|
return inboundAudio.copy((i8 & 1) != 0 ? inboundAudio.audioLevel : i, (i8 & 2) != 0 ? inboundAudio.bytesReceived : j, (i8 & 4) != 0 ? inboundAudio.codecName : str, (i8 & 8) != 0 ? inboundAudio.codecPayloadType : i2, (i8 & 16) != 0 ? inboundAudio.delayEstimate : j2, (i8 & 32) != 0 ? inboundAudio.decodingCNG : i3, (i8 & 64) != 0 ? inboundAudio.decodingMutedOutput : i4, (i8 & 128) != 0 ? inboundAudio.decodingNormal : i5, (i8 & 256) != 0 ? inboundAudio.decodingPLC : i6, (i8 & 512) != 0 ? inboundAudio.decodingPLCCNG : i7, (i8 & 1024) != 0 ? inboundAudio.jitter : j3, (i8 & 2048) != 0 ? inboundAudio.jitterBuffer : j4, (i8 & 4096) != 0 ? inboundAudio.jitterBufferPreferred : j5, (i8 & 8192) != 0 ? inboundAudio.packetsLost : j6, (i8 & 16384) != 0 ? inboundAudio.packetsReceived : j7, (i8 & 32768) != 0 ? inboundAudio.opSilence : j8, (i8 & 65536) != 0 ? inboundAudio.opNormal : j9, (i8 & 131072) != 0 ? inboundAudio.opMerge : j10, (i8 & 262144) != 0 ? inboundAudio.opExpand : j11, (i8 & 524288) != 0 ? inboundAudio.opAccelerate : j12, (i8 & 1048576) != 0 ? inboundAudio.opPreemptiveExpand : j13, (i8 & 2097152) != 0 ? inboundAudio.opCNG : j14, (i8 & 4194304) != 0 ? inboundAudio.speaking : j15, (i8 & 8388608) != 0 ? inboundAudio.ssrc : j16);
|
||
|
}
|
||
|
|
||
|
public final int component1() {
|
||
|
return this.audioLevel;
|
||
|
}
|
||
|
|
||
|
public final int component10() {
|
||
|
return this.decodingPLCCNG;
|
||
|
}
|
||
|
|
||
|
public final long component11() {
|
||
|
return this.jitter;
|
||
|
}
|
||
|
|
||
|
public final long component12() {
|
||
|
return this.jitterBuffer;
|
||
|
}
|
||
|
|
||
|
public final long component13() {
|
||
|
return this.jitterBufferPreferred;
|
||
|
}
|
||
|
|
||
|
public final long component14() {
|
||
|
return this.packetsLost;
|
||
|
}
|
||
|
|
||
|
public final long component15() {
|
||
|
return this.packetsReceived;
|
||
|
}
|
||
|
|
||
|
public final long component16() {
|
||
|
return this.opSilence;
|
||
|
}
|
||
|
|
||
|
public final long component17() {
|
||
|
return this.opNormal;
|
||
|
}
|
||
|
|
||
|
public final long component18() {
|
||
|
return this.opMerge;
|
||
|
}
|
||
|
|
||
|
public final long component19() {
|
||
|
return this.opExpand;
|
||
|
}
|
||
|
|
||
|
public final long component2() {
|
||
|
return this.bytesReceived;
|
||
|
}
|
||
|
|
||
|
public final long component20() {
|
||
|
return this.opAccelerate;
|
||
|
}
|
||
|
|
||
|
public final long component21() {
|
||
|
return this.opPreemptiveExpand;
|
||
|
}
|
||
|
|
||
|
public final long component22() {
|
||
|
return this.opCNG;
|
||
|
}
|
||
|
|
||
|
public final long component23() {
|
||
|
return this.speaking;
|
||
|
}
|
||
|
|
||
|
public final long component24() {
|
||
|
return this.ssrc;
|
||
|
}
|
||
|
|
||
|
public final String component3() {
|
||
|
return this.codecName;
|
||
|
}
|
||
|
|
||
|
public final int component4() {
|
||
|
return this.codecPayloadType;
|
||
|
}
|
||
|
|
||
|
public final long component5() {
|
||
|
return this.delayEstimate;
|
||
|
}
|
||
|
|
||
|
public final int component6() {
|
||
|
return this.decodingCNG;
|
||
|
}
|
||
|
|
||
|
public final int component7() {
|
||
|
return this.decodingMutedOutput;
|
||
|
}
|
||
|
|
||
|
public final int component8() {
|
||
|
return this.decodingNormal;
|
||
|
}
|
||
|
|
||
|
public final int component9() {
|
||
|
return this.decodingPLC;
|
||
|
}
|
||
|
|
||
|
public final InboundAudio copy(int i, long j, String str, int i2, long j2, int i3, int i4, int i5, int i6, int i7, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, long j12, long j13, long j14, long j15, long j16) {
|
||
|
m.checkNotNullParameter(str, "codecName");
|
||
|
return new InboundAudio(i, j, str, i2, j2, i3, i4, i5, i6, i7, j3, j4, j5, j6, j7, j8, j9, j10, j11, j12, j13, j14, j15, j16);
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof InboundAudio)) {
|
||
|
return false;
|
||
|
}
|
||
|
InboundAudio inboundAudio = (InboundAudio) obj;
|
||
|
return this.audioLevel == inboundAudio.audioLevel && this.bytesReceived == inboundAudio.bytesReceived && m.areEqual(this.codecName, inboundAudio.codecName) && this.codecPayloadType == inboundAudio.codecPayloadType && this.delayEstimate == inboundAudio.delayEstimate && this.decodingCNG == inboundAudio.decodingCNG && this.decodingMutedOutput == inboundAudio.decodingMutedOutput && this.decodingNormal == inboundAudio.decodingNormal && this.decodingPLC == inboundAudio.decodingPLC && this.decodingPLCCNG == inboundAudio.decodingPLCCNG && this.jitter == inboundAudio.jitter && this.jitterBuffer == inboundAudio.jitterBuffer && this.jitterBufferPreferred == inboundAudio.jitterBufferPreferred && this.packetsLost == inboundAudio.packetsLost && this.packetsReceived == inboundAudio.packetsReceived && this.opSilence == inboundAudio.opSilence && this.opNormal == inboundAudio.opNormal && this.opMerge == inboundAudio.opMerge && this.opExpand == inboundAudio.opExpand && this.opAccelerate == inboundAudio.opAccelerate && this.opPreemptiveExpand == inboundAudio.opPreemptiveExpand && this.opCNG == inboundAudio.opCNG && this.speaking == inboundAudio.speaking && this.ssrc == inboundAudio.ssrc;
|
||
|
}
|
||
|
|
||
|
public final int getAudioLevel() {
|
||
|
return this.audioLevel;
|
||
|
}
|
||
|
|
||
|
public final long getBytesReceived() {
|
||
|
return this.bytesReceived;
|
||
|
}
|
||
|
|
||
|
public final String getCodecName() {
|
||
|
return this.codecName;
|
||
|
}
|
||
|
|
||
|
public final int getCodecPayloadType() {
|
||
|
return this.codecPayloadType;
|
||
|
}
|
||
|
|
||
|
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 long getSpeaking() {
|
||
|
return this.speaking;
|
||
|
}
|
||
|
|
||
|
public final long getSsrc() {
|
||
|
return this.ssrc;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
int a = (b.a(this.bytesReceived) + (this.audioLevel * 31)) * 31;
|
||
|
String str = this.codecName;
|
||
|
int hashCode = str != null ? str.hashCode() : 0;
|
||
|
int a2 = b.a(this.delayEstimate);
|
||
|
int a3 = b.a(this.jitter);
|
||
|
int a4 = b.a(this.jitterBuffer);
|
||
|
int a5 = b.a(this.jitterBufferPreferred);
|
||
|
int a6 = b.a(this.packetsLost);
|
||
|
int a7 = b.a(this.packetsReceived);
|
||
|
int a8 = b.a(this.opSilence);
|
||
|
int a9 = b.a(this.opNormal);
|
||
|
int a10 = b.a(this.opMerge);
|
||
|
int a11 = b.a(this.opExpand);
|
||
|
int a12 = b.a(this.opAccelerate);
|
||
|
int a13 = b.a(this.opPreemptiveExpand);
|
||
|
int a14 = b.a(this.opCNG);
|
||
|
return b.a(this.ssrc) + ((b.a(this.speaking) + ((a14 + ((a13 + ((a12 + ((a11 + ((a10 + ((a9 + ((a8 + ((a7 + ((a6 + ((a5 + ((a4 + ((a3 + ((((((((((((a2 + ((((a + hashCode) * 31) + this.codecPayloadType) * 31)) * 31) + this.decodingCNG) * 31) + this.decodingMutedOutput) * 31) + this.decodingNormal) * 31) + this.decodingPLC) * 31) + this.decodingPLCCNG) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31);
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder K = a.K("InboundAudio(audioLevel=");
|
||
|
K.append(this.audioLevel);
|
||
|
K.append(", bytesReceived=");
|
||
|
K.append(this.bytesReceived);
|
||
|
K.append(", codecName=");
|
||
|
K.append(this.codecName);
|
||
|
K.append(", codecPayloadType=");
|
||
|
K.append(this.codecPayloadType);
|
||
|
K.append(", delayEstimate=");
|
||
|
K.append(this.delayEstimate);
|
||
|
K.append(", decodingCNG=");
|
||
|
K.append(this.decodingCNG);
|
||
|
K.append(", decodingMutedOutput=");
|
||
|
K.append(this.decodingMutedOutput);
|
||
|
K.append(", decodingNormal=");
|
||
|
K.append(this.decodingNormal);
|
||
|
K.append(", decodingPLC=");
|
||
|
K.append(this.decodingPLC);
|
||
|
K.append(", decodingPLCCNG=");
|
||
|
K.append(this.decodingPLCCNG);
|
||
|
K.append(", jitter=");
|
||
|
K.append(this.jitter);
|
||
|
K.append(", jitterBuffer=");
|
||
|
K.append(this.jitterBuffer);
|
||
|
K.append(", jitterBufferPreferred=");
|
||
|
K.append(this.jitterBufferPreferred);
|
||
|
K.append(", packetsLost=");
|
||
|
K.append(this.packetsLost);
|
||
|
K.append(", packetsReceived=");
|
||
|
K.append(this.packetsReceived);
|
||
|
K.append(", opSilence=");
|
||
|
K.append(this.opSilence);
|
||
|
K.append(", opNormal=");
|
||
|
K.append(this.opNormal);
|
||
|
K.append(", opMerge=");
|
||
|
K.append(this.opMerge);
|
||
|
K.append(", opExpand=");
|
||
|
K.append(this.opExpand);
|
||
|
K.append(", opAccelerate=");
|
||
|
K.append(this.opAccelerate);
|
||
|
K.append(", opPreemptiveExpand=");
|
||
|
K.append(this.opPreemptiveExpand);
|
||
|
K.append(", opCNG=");
|
||
|
K.append(this.opCNG);
|
||
|
K.append(", speaking=");
|
||
|
K.append(this.speaking);
|
||
|
K.append(", ssrc=");
|
||
|
return a.y(K, this.ssrc, ")");
|
||
|
}
|
||
|
}
|