126 lines
5.1 KiB
Java
126 lines
5.1 KiB
Java
package co.discord.media_engine;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: VoiceQuality.kt */
|
|
public final class InboundBufferStats {
|
|
private final PlayoutMetric audioJitterBuffer;
|
|
private final PlayoutMetric audioJitterDelay;
|
|
private final PlayoutMetric audioJitterTarget;
|
|
private final PlayoutMetric relativePlayoutDelay;
|
|
private final PlayoutMetric relativeReceptionDelay;
|
|
|
|
public InboundBufferStats(PlayoutMetric playoutMetric, PlayoutMetric playoutMetric2, PlayoutMetric playoutMetric3, PlayoutMetric playoutMetric4, PlayoutMetric playoutMetric5) {
|
|
this.audioJitterBuffer = playoutMetric;
|
|
this.audioJitterTarget = playoutMetric2;
|
|
this.audioJitterDelay = playoutMetric3;
|
|
this.relativeReceptionDelay = playoutMetric4;
|
|
this.relativePlayoutDelay = playoutMetric5;
|
|
}
|
|
|
|
public static /* synthetic */ InboundBufferStats copy$default(InboundBufferStats inboundBufferStats, PlayoutMetric playoutMetric, PlayoutMetric playoutMetric2, PlayoutMetric playoutMetric3, PlayoutMetric playoutMetric4, PlayoutMetric playoutMetric5, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
playoutMetric = inboundBufferStats.audioJitterBuffer;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
playoutMetric2 = inboundBufferStats.audioJitterTarget;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
playoutMetric3 = inboundBufferStats.audioJitterDelay;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
playoutMetric4 = inboundBufferStats.relativeReceptionDelay;
|
|
}
|
|
if ((i & 16) != 0) {
|
|
playoutMetric5 = inboundBufferStats.relativePlayoutDelay;
|
|
}
|
|
return inboundBufferStats.copy(playoutMetric, playoutMetric2, playoutMetric3, playoutMetric4, playoutMetric5);
|
|
}
|
|
|
|
public final PlayoutMetric component1() {
|
|
return this.audioJitterBuffer;
|
|
}
|
|
|
|
public final PlayoutMetric component2() {
|
|
return this.audioJitterTarget;
|
|
}
|
|
|
|
public final PlayoutMetric component3() {
|
|
return this.audioJitterDelay;
|
|
}
|
|
|
|
public final PlayoutMetric component4() {
|
|
return this.relativeReceptionDelay;
|
|
}
|
|
|
|
public final PlayoutMetric component5() {
|
|
return this.relativePlayoutDelay;
|
|
}
|
|
|
|
public final InboundBufferStats copy(PlayoutMetric playoutMetric, PlayoutMetric playoutMetric2, PlayoutMetric playoutMetric3, PlayoutMetric playoutMetric4, PlayoutMetric playoutMetric5) {
|
|
return new InboundBufferStats(playoutMetric, playoutMetric2, playoutMetric3, playoutMetric4, playoutMetric5);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof InboundBufferStats)) {
|
|
return false;
|
|
}
|
|
InboundBufferStats inboundBufferStats = (InboundBufferStats) obj;
|
|
return m.areEqual(this.audioJitterBuffer, inboundBufferStats.audioJitterBuffer) && m.areEqual(this.audioJitterTarget, inboundBufferStats.audioJitterTarget) && m.areEqual(this.audioJitterDelay, inboundBufferStats.audioJitterDelay) && m.areEqual(this.relativeReceptionDelay, inboundBufferStats.relativeReceptionDelay) && m.areEqual(this.relativePlayoutDelay, inboundBufferStats.relativePlayoutDelay);
|
|
}
|
|
|
|
public final PlayoutMetric getAudioJitterBuffer() {
|
|
return this.audioJitterBuffer;
|
|
}
|
|
|
|
public final PlayoutMetric getAudioJitterDelay() {
|
|
return this.audioJitterDelay;
|
|
}
|
|
|
|
public final PlayoutMetric getAudioJitterTarget() {
|
|
return this.audioJitterTarget;
|
|
}
|
|
|
|
public final PlayoutMetric getRelativePlayoutDelay() {
|
|
return this.relativePlayoutDelay;
|
|
}
|
|
|
|
public final PlayoutMetric getRelativeReceptionDelay() {
|
|
return this.relativeReceptionDelay;
|
|
}
|
|
|
|
public int hashCode() {
|
|
PlayoutMetric playoutMetric = this.audioJitterBuffer;
|
|
int i = 0;
|
|
int hashCode = (playoutMetric != null ? playoutMetric.hashCode() : 0) * 31;
|
|
PlayoutMetric playoutMetric2 = this.audioJitterTarget;
|
|
int hashCode2 = (hashCode + (playoutMetric2 != null ? playoutMetric2.hashCode() : 0)) * 31;
|
|
PlayoutMetric playoutMetric3 = this.audioJitterDelay;
|
|
int hashCode3 = (hashCode2 + (playoutMetric3 != null ? playoutMetric3.hashCode() : 0)) * 31;
|
|
PlayoutMetric playoutMetric4 = this.relativeReceptionDelay;
|
|
int hashCode4 = (hashCode3 + (playoutMetric4 != null ? playoutMetric4.hashCode() : 0)) * 31;
|
|
PlayoutMetric playoutMetric5 = this.relativePlayoutDelay;
|
|
if (playoutMetric5 != null) {
|
|
i = playoutMetric5.hashCode();
|
|
}
|
|
return hashCode4 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder K = a.K("InboundBufferStats(audioJitterBuffer=");
|
|
K.append(this.audioJitterBuffer);
|
|
K.append(", audioJitterTarget=");
|
|
K.append(this.audioJitterTarget);
|
|
K.append(", audioJitterDelay=");
|
|
K.append(this.audioJitterDelay);
|
|
K.append(", relativeReceptionDelay=");
|
|
K.append(this.relativeReceptionDelay);
|
|
K.append(", relativePlayoutDelay=");
|
|
K.append(this.relativePlayoutDelay);
|
|
K.append(")");
|
|
return K.toString();
|
|
}
|
|
}
|