DeviceManager
interface DeviceManager
Manages audio devices.
Functions
Link copied to clipboard
Gets the current input device.
Link copied to clipboard
Gets the last input device error.
Link copied to clipboard
Gets the current output device.
Link copied to clipboard
Opens a new input device with the specified audio format and device parameters.
Link copied to clipboard
@NotNull
Opens a new output device with the specified audio format and device parameters.
Link copied to clipboard
Closes the current input device and opens a new one in the background, using the configured device name, input backend and the current ServerInfo voice format.
Link copied to clipboard
@NotNull
Closes the current output device and opens a new one in the background, using the configured device name and the current ServerInfo voice format.
Link copied to clipboard
abstract fun setInputDevice(@Nullable device: @Nullable InputDevice, @Nullable lastError: @Nullable Throwable)
Sets an input device.
Link copied to clipboard
Sets an output device.