There is an object "get/make-audio-dialog" which outputs/sets device numbers and all other parameters of the audio-dialog window within a patch.
Is there a way to get the list of device names, or as an alternative, a message to send to PD to open the Audio window from within the patch window?