package u0;

import java.util.Locale;
import x0.AbstractC1709a;

/* JADX INFO: loaded from: classes.dex */
public final class H {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static final H f17158d = new H(1.0f, 1.0f);

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final float f17159a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final float f17160b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final int f17161c;

    static {
        x0.v.G(0);
        x0.v.G(1);
    }

    public H(float f3, float f7) {
        AbstractC1709a.d(f3 > 0.0f);
        AbstractC1709a.d(f7 > 0.0f);
        this.f17159a = f3;
        this.f17160b = f7;
        this.f17161c = Math.round(f3 * 1000.0f);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && H.class == obj.getClass()) {
            H h8 = (H) obj;
            if (this.f17159a == h8.f17159a && this.f17160b == h8.f17160b) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        return Float.floatToRawIntBits(this.f17160b) + ((Float.floatToRawIntBits(this.f17159a) + 527) * 31);
    }

    public final String toString() {
        Object[] objArr = {Float.valueOf(this.f17159a), Float.valueOf(this.f17160b)};
        int i = x0.v.f18553a;
        return String.format(Locale.US, "PlaybackParameters(speed=%.2f, pitch=%.2f)", objArr);
    }
}
