open Device
@NotNull
Opens a new audio device with the specified audio format and optional device name.
Return
A new audio device instance.
Parameters
format
The audio format to use for the device.
device Name
The optional name of the specific audio device to open, or null to use the default device.
Throws
If there is an issue with opening an audio device.