47 lines
1.6 KiB
Java
47 lines
1.6 KiB
Java
package c.a.q.m0.c;
|
|
|
|
import co.discord.media_engine.Connection;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: MediaEngineConnectionLegacy.kt */
|
|
public final class c implements Connection.UserSpeakingStatusChangedCallback {
|
|
public final /* synthetic */ e a;
|
|
|
|
/* compiled from: MediaEngineConnectionLegacy.kt */
|
|
public static final class a extends o implements Function0<Unit> {
|
|
public final /* synthetic */ boolean $isUserSpeakingNow;
|
|
public final /* synthetic */ long $userId;
|
|
public final /* synthetic */ c this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public a(c cVar, long j, boolean z2) {
|
|
super(0);
|
|
this.this$0 = cVar;
|
|
this.$userId = j;
|
|
this.$isUserSpeakingNow = z2;
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public Unit mo1invoke() {
|
|
e eVar = this.this$0.a;
|
|
long j = this.$userId;
|
|
boolean z2 = this.$isUserSpeakingNow;
|
|
Integer num = eVar.d.get(Long.valueOf(j));
|
|
eVar.y(new g(j, num != null ? num.intValue() : 0, z2));
|
|
return Unit.a;
|
|
}
|
|
}
|
|
|
|
public c(e eVar) {
|
|
this.a = eVar;
|
|
}
|
|
|
|
@Override // co.discord.media_engine.Connection.UserSpeakingStatusChangedCallback
|
|
public void onUserSpeakingStatusChanged(long j, boolean z2, boolean z3) {
|
|
e.x(this.a, new a(this, j, z2));
|
|
}
|
|
}
|