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

66 lines
1.7 KiB
Java

package co.discord.media_engine;
import c.d.b.a.a;
/* compiled from: VoiceQuality.kt */
public final class OutboundAudio {
private final int packetsLost;
private final int packetsSent;
public OutboundAudio(int i, int i2) {
this.packetsSent = i;
this.packetsLost = i2;
}
public static /* synthetic */ OutboundAudio copy$default(OutboundAudio outboundAudio, int i, int i2, int i3, Object obj) {
if ((i3 & 1) != 0) {
i = outboundAudio.packetsSent;
}
if ((i3 & 2) != 0) {
i2 = outboundAudio.packetsLost;
}
return outboundAudio.copy(i, i2);
}
public final int component1() {
return this.packetsSent;
}
public final int component2() {
return this.packetsLost;
}
public final OutboundAudio copy(int i, int i2) {
return new OutboundAudio(i, i2);
}
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 int getPacketsSent() {
return this.packetsSent;
}
public int hashCode() {
return (this.packetsSent * 31) + this.packetsLost;
}
public String toString() {
StringBuilder L = a.L("OutboundAudio(packetsSent=");
L.append(this.packetsSent);
L.append(", packetsLost=");
return a.z(L, this.packetsLost, ")");
}
}