apkfuckery/com.discord/smali/k.smali

51 lines
1.3 KiB
Smali
Raw Normal View History

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