connectInput

abstract fun connectInput(input: AudioProcessor.Input): Closeable

Connects the provided input to this processor and returns a Closeable to release the connection when required. Normally, processing of the provided input starts instantly however certain processors may do it async so it is not guaranteed that any work will be done as soon as input is connected.

It is essential to manage the returned Closeable to avoid leaking resources.