Refresh AudioDeviceOut Devices list

Hey guys! Is there a way to refresh the device list in the AudioDeviceOut CHOP without restarting TouchDesigner? If I add a new device once TD is loaded I cannot see it unless I restart the patch :frowning:

I also see that the Audio Devices DAT does not report when I connect a new device (like a Bluetooth speaker), I´m not sure if that is a bug

Thanks!

This looks like a bug, the callbacks are also not called whenever a device changes state. Pinging @JetXS so it gets proper attention.

I’ll have a look this week. Thanks.

1 Like

Hi,

This was reported already and is a known issue. There is a work around but it might cause issues with a number of audio related operators.

We are discussing this internally further and we will get back to you.

Best,
Michel

2 Likes

You can set project.resetAudioOnDeviceChange=True (its default value is False) which will re-enumerate audio devices when a device change is triggered on the system. Bear in mind that this does not distinguish between audio system devices and general system devices, so you may experience audio drop-outs when re-enumeration is triggered from any system device change (eg. plugging in a mouse).

1 Like

Ok, thanks for the advice