package com.google.android.gms.internal.ads;

import androidx.annotation.Nullable;
import java.util.Locale;

/* JADX INFO: loaded from: classes2.dex */
public final class wd {

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

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

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

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

    static {
        String str = bb1.f9474a;
        Integer.toString(0, 36);
        Integer.toString(1, 36);
    }

    public wd(float f10, float f11) {
        ih1.x(f10 > 0.0f);
        ih1.x(f11 > 0.0f);
        this.f18031a = f10;
        this.f18032b = f11;
        this.f18033c = Math.round(f10 * 1000.0f);
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && wd.class == obj.getClass()) {
            wd wdVar = (wd) obj;
            if (this.f18031a == wdVar.f18031a && this.f18032b == wdVar.f18032b) {
                return true;
            }
        }
        return false;
    }

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

    public final String toString() {
        Object[] objArr = {Float.valueOf(this.f18031a), Float.valueOf(this.f18032b)};
        String str = bb1.f9474a;
        return String.format(Locale.US, "PlaybackParameters(speed=%.2f, pitch=%.2f)", objArr);
    }
}
