apkfuckery/com.discord/smali/p.smali

51 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-09 19:21:20 +00:00
const-string v0, "audioSubsystem"
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-09-09 19:21:20 +00:00
const-string v0, "audioLayer"
invoke-static {p2, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
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-10 21:23:57 +00:00
invoke-interface {v0, v1}, Lt0/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-10 21:23:57 +00:00
invoke-interface {p1}, Lt0/g;->onCompleted()V
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
return-void
2020-05-17 12:40:10 +00:00
.end method