package androidx.media;

import android.annotation.TargetApi;
import android.media.AudioAttributes;

@TargetApi(21)
/* loaded from: classes.dex */
class AudioAttributesImplApi21 implements AudioAttributesImpl {

    /* renamed from: a, reason: collision with root package name */
    AudioAttributes f4970a;

    /* renamed from: b, reason: collision with root package name */
    int f4971b = -1;

    public boolean equals(Object obj) {
        if (obj instanceof AudioAttributesImplApi21) {
            return this.f4970a.equals(((AudioAttributesImplApi21) obj).f4970a);
        }
        return false;
    }

    public int hashCode() {
        return this.f4970a.hashCode();
    }

    public String toString() {
        return "AudioAttributesCompat: audioattributes=" + this.f4970a;
    }
}
