Rabbit-R1/original r1/java/sources/androidx/media3/common/AuxEffectInfo.java

29 lines
823 B
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
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);
}
}