setOutputDevice

abstract fun setOutputDevice(@Nullable device: @Nullable AlContextOutputDevice)

Sets an output device. This method also registers and unregisters (when replaced or removed) the device in event bus.

Parameters

device

The audio output device, or null to remove a current device from the manager.