apkfuckery/com.discord/smali/j.smali
2020-03-19 05:19:10 +01:00

50 lines
1.3 KiB
Smali

.class public final Lj;
.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, Lj;->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, Lj;->a:Lrx/Emitter;
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$AudioInfo;
const-string v2, "audioSubsystem"
invoke-static {p1, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v2, "audioLayer"
invoke-static {p2, v2}, Lw/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}, Le0/g;->onNext(Ljava/lang/Object;)V
iget-object p1, p0, Lj;->a:Lrx/Emitter;
invoke-interface {p1}, Le0/g;->onCompleted()V
return-void
.end method