DummySoundChannel

class DummySoundChannel(val sound: Sound, val data: AudioData? = null) : SoundChannel

Constructors

Link copied to clipboard
constructor(sound: Sound, data: AudioData? = null)

Properties

Link copied to clipboard
open override var current: TimeSpan
Link copied to clipboard
val data: AudioData? = null
Link copied to clipboard
open override var extra: ExtraType
Link copied to clipboard
open override var panning: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var pitch: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val state: SoundChannelState
Link copied to clipboard
open override val total: TimeSpan
Link copied to clipboard
open override var volume: Double

Functions

Link copied to clipboard
suspend fun SoundChannelBase.await()
suspend fun SoundChannel.await(progress: SoundChannel.(TimeSpan, TimeSpan) -> Unit = { current, total -> })
Link copied to clipboard
suspend fun SoundChannel.fadeIn(time: TimeSpan = DEFAULT_FADE_TIME, easing: Easing = DEFAULT_FADE_EASING)
Link copied to clipboard
suspend fun SoundChannel.fadeInResume(time: TimeSpan = DEFAULT_FADE_TIME, easing: Easing = DEFAULT_FADE_EASING)
Link copied to clipboard
suspend fun SoundChannel.fadeOut(time: TimeSpan = DEFAULT_FADE_TIME, easing: Easing = DEFAULT_FADE_EASING)
Link copied to clipboard
suspend fun SoundChannel.fadeOutPause(time: TimeSpan = DEFAULT_FADE_TIME, easing: Easing = DEFAULT_FADE_EASING)
Link copied to clipboard
suspend fun SoundChannel.fadeTo(volume: Double, time: TimeSpan = DEFAULT_FADE_TIME, easing: Easing = DEFAULT_FADE_EASING)
Link copied to clipboard
open fun pause()
Link copied to clipboard
override fun reset()
Link copied to clipboard
open fun resume()
Link copied to clipboard
open override fun stop()
Link copied to clipboard
Link copied to clipboard
suspend fun SoundChannel.togglePausedFaded(enable: Boolean? = null, time: TimeSpan = DEFAULT_FADE_TIME, easing: Easing = DEFAULT_FADE_EASING)
Link copied to clipboard