selectedAudioDeviceIn
fun AudioDeviceManager.selectedAudioDeviceIn(scope: CoroutineScope, started: SharingStarted): StateFlow<AudioDevice?>
Converts this AudioDeviceManager to selected audio device StateFlow.
Return
a state flow of selected audio device
Parameters
scope
the coroutine scope in which sharing is started
started
the strategy that controls when sharing is started and stopped