onAudioFormatEnabled

abstract fun onAudioFormatEnabled(format: Format, reason: Int, mediaTimeMs: Long)

Called when an Audio Format is enabled.

Parameters

format

the Format retrieved from ExoPlayer.

reason

One of the CSELECTION_REASON_*.

mediaTimeMs

The start time of the media, or TIME_UNSET if the data does not belong to a specific media period.