setInputAndOutputDeviceId

external fun setInputAndOutputDeviceId(inputId: Int, outputId: Int)

Sets the preferred input and output device id

The id corresponds to an internal device id (see AudioDeviceInfo#getId() )