ExoMixingAudioPlayer

fun ExoMixingAudioPlayer(context: Context, listener: MixingAudioPlayer.EventListener, looper: Looper)

Creates new instance of, with a Context that is provided to the ExoPlayer instances. The player starts out in the READY_TO_PLAY state.

This constructor additionally registers the given event listener with the new instance.

Parameters

context

Context provided to ExoPlayer instances

listener

event listener that is registered upon construction

looper

Looper to use

fun ExoMixingAudioPlayer(context: Context, looper: Looper)