Package-level declarations
Types
Link copied to clipboard
What to do with one clip's or one track's audio.
Link copied to clipboard
class Clip(val source: MediaSource, val trim: TimeRange? = null, val effects: List<EffectSpec> = emptyList(), val audio: AudioLevel = AudioLevel.Inherit, val snapWithin: Duration = Duration.ZERO, val fadeIn: Duration = Duration.ZERO, val fadeOut: Duration = Duration.ZERO, val speed: Double = 1.0)
One source contributing a time range to a track.
Link copied to clipboard
Builds one Clip.
Link copied to clipboard
class CompositionBuilder
Builds an EditComposition.
Link copied to clipboard
class EditComposition(val tracks: List<Track>, val effects: List<EffectSpec> = emptyList(), val audio: AudioSpec = AudioSpec.Keep, val fill: Fill = Fill.Black)
A complete, immutable description of an edit: what to read, what to cut, what to apply.
Link copied to clipboard
class EffectsBuilder
Collects effect declarations.
Link copied to clipboard
Which edge of a clip or track an EnvelopePoint is measured from.
Link copied to clipboard
class EnvelopePoint(val at: Duration, val gain: Float, val from: EnvelopeAnchor = EnvelopeAnchor.Start)
One pinned gain in an AudioLevel.Envelope.
Link copied to clipboard
Scopes filmstrip's builder receivers, so an inner block cannot silently call an outer one's members.
Link copied to clipboard
class Track(val clips: List<Clip>, val content: TrackContent = TrackContent.AudioAndVideo, val effects: List<EffectSpec> = emptyList(), val audio: AudioLevel = AudioLevel.Inherit, val start: Duration = Duration.ZERO, val looping: Boolean = false, val fadeIn: Duration = Duration.ZERO, val fadeOut: Duration = Duration.ZERO)
One layer of a composition: clips laid end to end, playing alongside the other tracks.
Link copied to clipboard
Builds one Track.
Link copied to clipboard
Which media streams a track contributes to the output.