Clip Data
data class ClipData(val clipId: Int, val positionSamples: Long, val positionLegacyBeats: Double, val durationSamples: Long, val gain: Double, val muted: Boolean, val name: String, val filepath: String, val clipType: ClipType, val referenceId: String = "", val anchorReferenceId: String = "", val anchorOrigin: AnchorOrigin = AnchorOrigin.Start, val anchorOffsetSamples: Long = 0, val sourceOffsetSamples: Long = 0)
Constructors
Link copied to clipboard
constructor(clipId: Int, positionSamples: Long, positionLegacyBeats: Double, durationSamples: Long, gain: Double, muted: Boolean, name: String, filepath: String, clipType: ClipType, referenceId: String = "", anchorReferenceId: String = "", anchorOrigin: AnchorOrigin = AnchorOrigin.Start, anchorOffsetSamples: Long = 0, sourceOffsetSamples: Long = 0)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Empty when the clip is anchored to its track rather than to another clip.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Stable document id, the handle anchors and history refer to clips by.
Link copied to clipboard
Where in the source the clip starts; non-zero once its start is trimmed.