createSource

abstract fun createSource(stereo: Boolean, params: DeviceSourceParams): S

Creates a new audio source associated with this output device.

Return

The device source that has been created.

Parameters

stereo

If true, the created source will be stereo, otherwise - mono.

params

Parameters specific to the device source configuration.

Throws

If there is an issue creating the audio source.