AudioChannel
class AudioChannel(val nativeSoundProvider: NativeSoundProvider = korlibs.audio.sound.nativeSoundProvider)
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