Exo Mixing Audio Player
class ExoMixingAudioPlayer(context: Context, looper: Looper) : MixingAudioPlayer
Content copied to clipboard
TODO: volume ramp goes out of whack if you pause during crossfade if the player volume is adjusted during a crossfade, the faders don't take that new volume into account. can the player be paused while stalled or buffering? a song either fails to prepare or starts and then either errors out or completes
Constructors
ExoMixingAudioPlayer
Link copied to clipboard
fun ExoMixingAudioPlayer(context: Context, listener: MixingAudioPlayer.EventListener, looper: Looper)
Content copied to clipboard
Creates new instance of, with a Context that is provided to the ExoPlayer instances. The player starts out in the READY_TO_PLAY state.
ExoMixingAudioPlayer
Link copied to clipboard
Types
Play And Player
Link copied to clipboard
inner class PlayAndPlayer
Content copied to clipboard
Time Tracker
Link copied to clipboard
Functions
add Audio Asset
Link copied to clipboard
Add an Audio file to the playlist.
cache Media
Link copied to clipboard
open override fun cacheMedia(url: String, maxCache: Int, listener: CacheMediaListener)
Content copied to clipboard
flush And Include Current
Link copied to clipboard
Flushes any pending items in the playlist but not the current song
max Seekable Length In Seconds
Link copied to clipboard
prepare Track
Link copied to clipboard
reset To Beginning
Link copied to clipboard
fun resetToBeginning()
Content copied to clipboard
set Mixing Audio Player Event Listener
Link copied to clipboard
fun setMixingAudioPlayerEventListener(listener: MixingAudioPlayer.EventListener?)
Content copied to clipboard
Event listener for Mixing Audio Player. Any previously assigned listener is removed.
set Trimming Enabled
Link copied to clipboard
skip With Cross Fade
Link copied to clipboard
open override fun skipWithCrossFade()
Content copied to clipboard
Properties
bTrimmingEnabled
Link copied to clipboard
crossFadeInEnabled
Link copied to clipboard
currentPlay
Link copied to clipboard
currentPlayDuration
Link copied to clipboard
currentPlayTime
Link copied to clipboard
fadeDuration
Link copied to clipboard
mEventListener
Link copied to clipboard
open override var mEventListener: MixingAudioPlayer.EventListener? = null
Content copied to clipboard