def on_load(self) -> None: self.devices: Dict[str, "CardInfo"] = {} self.deferred: List[Device] = [] pa = PulseAudioUtils() pa.connect("event", self.on_pa_event) pa.connect("connected", self.on_pa_ready)
def on_load(self, user_data): self.devices = {} self.item = None self.deferred = [] pa = PulseAudioUtils() pa.connect("event", self.on_pa_event) pa.connect("connected", self.on_pa_ready)
def on_load(self, user_data): self.devices = {} self.item = None self.deferred = [] pa = PulseAudioUtils() pa.connect("event", self.on_pa_event) pa.connect("connected", self.on_pa_ready)
def on_load(self) -> None: self._devices: Dict[str, "CardInfo"] = {} self._device_menus: Dict[str, "MenuItem"] = {} self._menu = self.parent.Plugins.Menu pa = PulseAudioUtils() pa.connect("event", self.on_pa_event) pa.connect("connected", self.on_pa_ready)