add

abstract fun add(source: Source)

Appends the source to the active playback session.

Has no effect if there is no active playback session.


abstract fun add(source: Source, index: Int)

Adds the source to the active playback session at index.

Has no effect if there is no active playback session or if index is < 0 or index is size of sources.