246 lines
8 KiB
Java
246 lines
8 KiB
Java
package com.discord.utilities.media;
|
|
|
|
import c.d.b.a.a;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
/* compiled from: AppSound.kt */
|
|
public final class AppSound {
|
|
public static final Companion Companion = new Companion(null);
|
|
private static final AppSound SOUND_CALL_CALLING = new AppSound(2131820545, true, 4, 3);
|
|
private static final AppSound SOUND_CALL_RINGING = new AppSound(2131820546, true, 4, 7);
|
|
private static final AppSound SOUND_DEAFEN = new AppSound(2131820547, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_MUTE = new AppSound(2131824086, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_RECONNECT = new AppSound(2131824087, false, 4, 3, 2, null);
|
|
private static final AppSound SOUND_STREAM_ENDED = new AppSound(2131824088, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_STREAM_STARTED = new AppSound(2131824089, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_STREAM_USER_JOINED = new AppSound(2131824090, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_STREAM_USER_LEFT = new AppSound(2131824091, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_UNDEAFEN = new AppSound(2131824092, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_UNMUTE = new AppSound(2131824093, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_USER_JOINED = new AppSound(2131824094, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_USER_LEFT = new AppSound(2131824095, false, 4, 13, 2, null);
|
|
private static final AppSound SOUND_USER_MOVED = new AppSound(2131824096, false, 4, 13, 2, null);
|
|
private final int contentType;
|
|
private final int resId;
|
|
private final boolean shouldLoop;
|
|
private final int usage;
|
|
|
|
/* compiled from: AppSound.kt */
|
|
public static final class Companion {
|
|
private Companion() {
|
|
}
|
|
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
public final AppSound getSOUND_CALL_CALLING() {
|
|
return AppSound.access$getSOUND_CALL_CALLING$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_CALL_RINGING() {
|
|
return AppSound.access$getSOUND_CALL_RINGING$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_DEAFEN() {
|
|
return AppSound.access$getSOUND_DEAFEN$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_MUTE() {
|
|
return AppSound.access$getSOUND_MUTE$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_RECONNECT() {
|
|
return AppSound.access$getSOUND_RECONNECT$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_STREAM_ENDED() {
|
|
return AppSound.access$getSOUND_STREAM_ENDED$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_STREAM_STARTED() {
|
|
return AppSound.access$getSOUND_STREAM_STARTED$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_STREAM_USER_JOINED() {
|
|
return AppSound.access$getSOUND_STREAM_USER_JOINED$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_STREAM_USER_LEFT() {
|
|
return AppSound.access$getSOUND_STREAM_USER_LEFT$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_UNDEAFEN() {
|
|
return AppSound.access$getSOUND_UNDEAFEN$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_UNMUTE() {
|
|
return AppSound.access$getSOUND_UNMUTE$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_USER_JOINED() {
|
|
return AppSound.access$getSOUND_USER_JOINED$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_USER_LEFT() {
|
|
return AppSound.access$getSOUND_USER_LEFT$cp();
|
|
}
|
|
|
|
public final AppSound getSOUND_USER_MOVED() {
|
|
return AppSound.access$getSOUND_USER_MOVED$cp();
|
|
}
|
|
}
|
|
|
|
public AppSound(int i, boolean z2, int i2, int i3) {
|
|
this.resId = i;
|
|
this.shouldLoop = z2;
|
|
this.contentType = i2;
|
|
this.usage = i3;
|
|
}
|
|
|
|
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
|
public /* synthetic */ AppSound(int i, boolean z2, int i2, int i3, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(i, (i4 & 2) != 0 ? false : z2, i2, i3);
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_CALL_CALLING$cp() {
|
|
return SOUND_CALL_CALLING;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_CALL_RINGING$cp() {
|
|
return SOUND_CALL_RINGING;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_DEAFEN$cp() {
|
|
return SOUND_DEAFEN;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_MUTE$cp() {
|
|
return SOUND_MUTE;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_RECONNECT$cp() {
|
|
return SOUND_RECONNECT;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_STREAM_ENDED$cp() {
|
|
return SOUND_STREAM_ENDED;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_STREAM_STARTED$cp() {
|
|
return SOUND_STREAM_STARTED;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_STREAM_USER_JOINED$cp() {
|
|
return SOUND_STREAM_USER_JOINED;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_STREAM_USER_LEFT$cp() {
|
|
return SOUND_STREAM_USER_LEFT;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_UNDEAFEN$cp() {
|
|
return SOUND_UNDEAFEN;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_UNMUTE$cp() {
|
|
return SOUND_UNMUTE;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_USER_JOINED$cp() {
|
|
return SOUND_USER_JOINED;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_USER_LEFT$cp() {
|
|
return SOUND_USER_LEFT;
|
|
}
|
|
|
|
public static final /* synthetic */ AppSound access$getSOUND_USER_MOVED$cp() {
|
|
return SOUND_USER_MOVED;
|
|
}
|
|
|
|
public static /* synthetic */ AppSound copy$default(AppSound appSound, int i, boolean z2, int i2, int i3, int i4, Object obj) {
|
|
if ((i4 & 1) != 0) {
|
|
i = appSound.resId;
|
|
}
|
|
if ((i4 & 2) != 0) {
|
|
z2 = appSound.shouldLoop;
|
|
}
|
|
if ((i4 & 4) != 0) {
|
|
i2 = appSound.contentType;
|
|
}
|
|
if ((i4 & 8) != 0) {
|
|
i3 = appSound.usage;
|
|
}
|
|
return appSound.copy(i, z2, i2, i3);
|
|
}
|
|
|
|
public final int component1() {
|
|
return this.resId;
|
|
}
|
|
|
|
public final boolean component2() {
|
|
return this.shouldLoop;
|
|
}
|
|
|
|
public final int component3() {
|
|
return this.contentType;
|
|
}
|
|
|
|
public final int component4() {
|
|
return this.usage;
|
|
}
|
|
|
|
public final AppSound copy(int i, boolean z2, int i2, int i3) {
|
|
return new AppSound(i, z2, i2, i3);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof AppSound)) {
|
|
return false;
|
|
}
|
|
AppSound appSound = (AppSound) obj;
|
|
return this.resId == appSound.resId && this.shouldLoop == appSound.shouldLoop && this.contentType == appSound.contentType && this.usage == appSound.usage;
|
|
}
|
|
|
|
public final int getContentType() {
|
|
return this.contentType;
|
|
}
|
|
|
|
public final int getResId() {
|
|
return this.resId;
|
|
}
|
|
|
|
public final boolean getShouldLoop() {
|
|
return this.shouldLoop;
|
|
}
|
|
|
|
public final int getUsage() {
|
|
return this.usage;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int i = this.resId * 31;
|
|
boolean z2 = this.shouldLoop;
|
|
if (z2) {
|
|
z2 = true;
|
|
}
|
|
int i2 = z2 ? 1 : 0;
|
|
int i3 = z2 ? 1 : 0;
|
|
int i4 = z2 ? 1 : 0;
|
|
return ((((i + i2) * 31) + this.contentType) * 31) + this.usage;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder K = a.K("AppSound(resId=");
|
|
K.append(this.resId);
|
|
K.append(", shouldLoop=");
|
|
K.append(this.shouldLoop);
|
|
K.append(", contentType=");
|
|
K.append(this.contentType);
|
|
K.append(", usage=");
|
|
return a.w(K, this.usage, ")");
|
|
}
|
|
}
|