samclane / LIFX-Control-Panel

As LIFX no longer supports their Windows 10 app, I created an open-source alternative for controlling LIFX-brand smart lights.
https://github.com/samclane/LIFX-Control-Panel
MIT License
163 stars 19 forks source link

Stop Requesting ASIO Driver access #144

Open SnowSquire opened 1 year ago

SnowSquire commented 1 year ago

Describe the bug If you have any ASIO drivers installed on your system, LIFX control panel will open it up. This is incredibly annoying. I assume this is due to some audio library within the program

To Reproduce Steps to reproduce the behavior:

  1. Assuming you don't have an ASIO device you can install a pseudo driver from here https://www.asio4all.org/
  2. After rebooting you should launch LIFX control panel. It will then open up the ASIO Driver panel Expected behavior LIFX should not open an asio control panel

Screenshots image

Desktop (please complete the following information): Windows 11, Latest version

Please attach your logfile (lifx-control-panel.log) Attempt to reproduce the problem, then attach your lifx_ctrl.log file. This will give us the most information about what went wrong.

Additional context Add any other context about the problem here.

SnowSquire commented 1 year ago

I did some digging and it looks like you guys are using pyaudio, which wraps portaudio. and ASIO support is a option at buildtime

samclane commented 1 year ago

I'm using the precompiled whl file that includes ASIO support: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio

I'm not sure if including support for ASIO is causing the control panel to appear, and I should be using the non-ASIO pip install. I haven't tested with the "dummy" ASIO driver yet.