package com.discord.stores; import com.discord.stores.StoreAudioDevices; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: StoreAudioDevices.kt */ public final class StoreAudioDevices$toggleSpeakerOutput$1 extends o implements Function0 { public final /* synthetic */ StoreAudioDevices this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreAudioDevices$toggleSpeakerOutput$1(StoreAudioDevices storeAudioDevices) { super(0); this.this$0 = storeAudioDevices; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final void mo1invoke() { if (this.this$0.getEnabled()) { if (this.this$0.getAudioDevicesState$app_productionBetaRelease().getSelectedOutputDevice() instanceof StoreAudioDevices.OutputDevice.Speaker) { StoreAudioDevices.access$autoSelectNonSpeakerOutput(this.this$0); } else { StoreAudioDevices.access$updateSelectedOutputDevice(this.this$0, StoreAudioDevices.OutputDevice.Speaker.INSTANCE); } } } }