camilladsp icon indicating copy to clipboard operation
camilladsp copied to clipboard

Add API to list device names

Open Wang-Yue opened this issue 3 years ago • 1 comments

the GetSupportedDeviceTypes API can list all available output plugins. It would be better to expose device names as well. Currently, this has to be done in another program (cpal-listdevice). Since you already have access to platform native APIs, listing it in the main program is almost trivial. Doing so has a few benefits. The most notable one is user will be able to select a device from a list (in camilla gui for instance) rather than typing it / installing another program.

Wang-Yue avatar Nov 16 '21 11:11 Wang-Yue

This is certainly useful! It has been on my list for a while already, I just didn't find the time to start yet.

HEnquist avatar Nov 16 '21 15:11 HEnquist

done in 2.0

HEnquist avatar Dec 12 '23 20:12 HEnquist