AudioChannel

class AudioChannel(val nativeSoundProvider: NativeSoundProvider = korlibs.audio.sound.nativeSoundProvider)

Constructors

Link copied to clipboard
constructor(nativeSoundProvider: NativeSoundProvider = korlibs.audio.sound.nativeSoundProvider)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun play(sound: AudioStream, times: PlaybackTimes = 1.playbackTimes, startTime: TimeSpan = 0.seconds): AudioChannel
fun play(sound: Sound, times: PlaybackTimes = 1.playbackTimes, startTime: TimeSpan = 0.seconds, coroutineContext: CoroutineContext = sound.defaultCoroutineContext): AudioChannel
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard