package com.google.android.gms.internal.ads; import androidx.annotation.FloatRange; import androidx.annotation.Nullable; import com.ironsource.mediationsdk.logger.IronSourceError; import java.util.Locale; /* loaded from: classes3.dex */ public final class zzbe { public static final zzbe zza = new zzbe(1.0f, 1.0f); public final float zzb; public final float zzc; private final int zzd; public zzbe(@FloatRange(from = 0.0d, fromInclusive = false) float f, @FloatRange(from = 0.0d, fromInclusive = false) float f2) { zzcw.zzd(f > 0.0f); zzcw.zzd(f2 > 0.0f); this.zzb = f; this.zzc = f2; this.zzd = Math.round(f * 1000.0f); } public final boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (obj != null && zzbe.class == obj.getClass()) { zzbe zzbeVar = (zzbe) obj; if (this.zzb == zzbeVar.zzb && this.zzc == zzbeVar.zzc) { return true; } } return false; } public final int hashCode() { return ((Float.floatToRawIntBits(this.zzb) + IronSourceError.ERROR_NON_EXISTENT_INSTANCE) * 31) + Float.floatToRawIntBits(this.zzc); } public final String toString() { return String.format(Locale.US, "PlaybackParameters(speed=%.2f, pitch=%.2f)", Float.valueOf(this.zzb), Float.valueOf(this.zzc)); } public final long zza(long j) { return j * this.zzd; } }