apkfuckery/com.discord/smali_classes2/k.smali
2020-04-30 02:48:06 +02:00

50 lines
1.3 KiB
Smali

.class public final Lk;
.super Ljava/lang/Object;
.source "MediaEngineLegacy.kt"
# interfaces
.implements Lcom/hammerandchisel/libdiscord/Discord$GetAudioSubsystemCallback;
# instance fields
.field public final synthetic a:Lrx/Emitter;
# direct methods
.method public constructor <init>(Lrx/Emitter;)V
.locals 0
iput-object p1, p0, Lk;->a:Lrx/Emitter;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onAudioSubsystem(Ljava/lang/String;Ljava/lang/String;)V
.locals 3
iget-object v0, p0, Lk;->a:Lrx/Emitter;
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$AudioInfo;
const-string v2, "audioSubsystem"
invoke-static {p1, v2}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v2, "audioLayer"
invoke-static {p2, v2}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {v1, p1, p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$AudioInfo;-><init>(Ljava/lang/String;Ljava/lang/String;)V
invoke-interface {v0, v1}, Lf0/g;->onNext(Ljava/lang/Object;)V
iget-object p1, p0, Lk;->a:Lrx/Emitter;
invoke-interface {p1}, Lf0/g;->onCompleted()V
return-void
.end method