openOutputDevice

@NotNull
abstract fun openOutputDevice(@Nullable format: @Nullable AudioFormat): @NotNull AlContextOutputDevice

Opens a new output device with the specified audio format and device parameters. Note: This method doesn't set the input device in the manager. You need to use setInputDevice.

Return

The output device.

Parameters

format

The audio format (or null to use the current ServerInfo voice format).

Throws

If there is an issue with opening an output device.