f4exb / sdrangel

SDR Rx/Tx software for Airspy, Airspy HF+, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay and FunCube
GNU General Public License v3.0
2.96k stars 447 forks source link

Refresh audio devices via Web API #2106

Open drewbug opened 6 months ago

drewbug commented 6 months ago

Hello, it would be very useful if there were some way to refresh the list of available audio devices from QT other than altogether terminating the server. It doesn't appear there is any way to set this back to false: https://github.com/f4exb/sdrangel/blob/a31e83d43c356b9a9f8cbef640e7bd3e4eb25e2b/sdrbase/audio/audiodeviceinfo.cpp#L120C9-L120C32

srcejon commented 6 months ago

Yeah. Would like to do it from the GUI too.

drewbug commented 6 months ago

I will try commenting that line out and recompiling.