Rabbit-R1/android (non root)/java/sources/androidx/media3/common/AuxEffectInfo.java
2024-05-21 17:08:36 -04:00

28 lines
823 B
Java

package androidx.media3.common;
/* loaded from: classes2.dex */
public final class AuxEffectInfo {
public static final int NO_AUX_EFFECT_ID = 0;
public final int effectId;
public final float sendLevel;
public AuxEffectInfo(int i, float f) {
this.effectId = i;
this.sendLevel = f;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
AuxEffectInfo auxEffectInfo = (AuxEffectInfo) obj;
return this.effectId == auxEffectInfo.effectId && Float.compare(auxEffectInfo.sendLevel, this.sendLevel) == 0;
}
public int hashCode() {
return ((527 + this.effectId) * 31) + Float.floatToIntBits(this.sendLevel);
}
}