apkfuckery/com.discord/smali/p.smali

63 lines
1.3 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public final Lp;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
2020-07-14 22:43:59 +00:00
.source "MediaEngineLegacy.kt"
2020-05-17 12:40:10 +00:00
# interfaces
2020-07-14 22:43:59 +00:00
.implements Lcom/hammerandchisel/libdiscord/Discord$GetAudioSubsystemCallback;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
# instance fields
.field public final synthetic a:Lrx/Emitter;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-14 22:43:59 +00:00
.method public constructor <init>(Lrx/Emitter;)V
2020-05-17 12:40:10 +00:00
.locals 0
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lp;->a:Lrx/Emitter;
2020-07-14 22:43:59 +00:00
2020-05-17 12:40:10 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-07-14 22:43:59 +00:00
.method public final onAudioSubsystem(Ljava/lang/String;Ljava/lang/String;)V
.locals 2
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_1
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lp;->a:Lrx/Emitter;
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$AudioInfo;
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
invoke-direct {v1, p1, p2}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$AudioInfo;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-interface {v0, v1}, Ls0/g;->onNext(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object p1, p0, Lp;->a:Lrx/Emitter;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-interface {p1}, Ls0/g;->onCompleted()V
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
return-void
2020-09-08 08:16:32 +00:00
:cond_0
const-string p1, "audioLayer"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "audioSubsystem"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-05-17 12:40:10 +00:00
.end method