PlaybackParameters

data class PlaybackParameters(val times: PlaybackTimes = 1.playbackTimes, val startTime: TimeSpan = 0.seconds, val bufferTime: TimeSpan = 0.16.seconds, val volume: Double = 1.0, val pitch: Double = 1.0, val panning: Double = 0.0, val onCancel: () -> Unit? = null, val onFinish: () -> Unit? = null) : ReadonlySoundProps

Constructors

Link copied to clipboard
constructor(times: PlaybackTimes = 1.playbackTimes, startTime: TimeSpan = 0.seconds, bufferTime: TimeSpan = 0.16.seconds, volume: Double = 1.0, pitch: Double = 1.0, panning: Double = 0.0, onCancel: () -> Unit? = null, onFinish: () -> Unit? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val onCancel: () -> Unit? = null
Link copied to clipboard
val onFinish: () -> Unit? = null
Link copied to clipboard
open override val panning: Double = 0.0
Link copied to clipboard
open override val pitch: Double = 1.0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val volume: Double = 1.0