setAudioSource

fun setAudioSource(context: Context, audioSource: Int)

Call this method to change the audio source

Parameters

context

the application context

audioSource

the source option