discord-jadx/app/src/main/java/com/discord/stores/StoreStreamRtcConnection$up...

34 lines
1.4 KiB
Java

package com.discord.stores;
import com.discord.rtcconnection.RtcConnection;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: StoreStreamRtcConnection.kt */
public final class StoreStreamRtcConnection$updateStreamVolume$1 extends o implements Function0<Unit> {
public final /* synthetic */ float $volume;
public final /* synthetic */ StoreStreamRtcConnection this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreStreamRtcConnection$updateStreamVolume$1(StoreStreamRtcConnection storeStreamRtcConnection, float f) {
super(0);
this.this$0 = storeStreamRtcConnection;
this.$volume = f;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreStreamRtcConnection.access$setStreamVolume$p(this.this$0, this.$volume);
Long access$getStreamOwner$p = StoreStreamRtcConnection.access$getStreamOwner$p(this.this$0);
if (access$getStreamOwner$p != null) {
long longValue = access$getStreamOwner$p.longValue();
RtcConnection access$getRtcConnection$p = StoreStreamRtcConnection.access$getRtcConnection$p(this.this$0);
if (access$getRtcConnection$p != null) {
access$getRtcConnection$p.w(longValue, this.$volume);
}
}
this.this$0.markChanged();
}
}