68 lines
1.7 KiB
Java
68 lines
1.7 KiB
Java
package co.discord.media_engine;
|
|
|
|
import a0.a.a.b;
|
|
import b.d.b.a.a;
|
|
/* compiled from: VoiceQuality.kt */
|
|
/* loaded from: classes.dex */
|
|
public final class OutboundAudio {
|
|
private final int packetsLost;
|
|
private final long packetsSent;
|
|
|
|
public OutboundAudio(long j, int i) {
|
|
this.packetsSent = j;
|
|
this.packetsLost = i;
|
|
}
|
|
|
|
public static /* synthetic */ OutboundAudio copy$default(OutboundAudio outboundAudio, long j, int i, int i2, Object obj) {
|
|
if ((i2 & 1) != 0) {
|
|
j = outboundAudio.packetsSent;
|
|
}
|
|
if ((i2 & 2) != 0) {
|
|
i = outboundAudio.packetsLost;
|
|
}
|
|
return outboundAudio.copy(j, i);
|
|
}
|
|
|
|
public final long component1() {
|
|
return this.packetsSent;
|
|
}
|
|
|
|
public final int component2() {
|
|
return this.packetsLost;
|
|
}
|
|
|
|
public final OutboundAudio copy(long j, int i) {
|
|
return new OutboundAudio(j, i);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof OutboundAudio)) {
|
|
return false;
|
|
}
|
|
OutboundAudio outboundAudio = (OutboundAudio) obj;
|
|
return this.packetsSent == outboundAudio.packetsSent && this.packetsLost == outboundAudio.packetsLost;
|
|
}
|
|
|
|
public final int getPacketsLost() {
|
|
return this.packetsLost;
|
|
}
|
|
|
|
public final long getPacketsSent() {
|
|
return this.packetsSent;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (b.a(this.packetsSent) * 31) + this.packetsLost;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder R = a.R("OutboundAudio(packetsSent=");
|
|
R.append(this.packetsSent);
|
|
R.append(", packetsLost=");
|
|
return a.A(R, this.packetsLost, ")");
|
|
}
|
|
}
|