WavAudioStream
class WavAudioStream(val fmt: WAV.Fmt, val buffer: AsyncStream, val bufferLength: Long, val data: AsyncStream, val props: AudioDecodingProps) : AudioStream
Constructors
Link copied to clipboard
constructor(fmt: WAV.Fmt, buffer: AsyncStream, bufferLength: Long, data: AsyncStream, props: AudioDecodingProps)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun AudioStream.playAndWait(times: PlaybackTimes = 1.playbackTimes, startTime: TimeSpan = 0.seconds, bufferTime: TimeSpan = 0.1.seconds)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun AudioStreamable.withEcho(bufferLen: Int = 2048, config: AudioStreamEchoConfig = AudioStreamEchoConfig()): Sound
Link copied to clipboard
fun AudioStream.withProcessor(block: suspend (inp: AudioStream, outp: AudioSamplesDeque) -> Unit): AudioStream
suspend fun AudioStreamable.withProcessor(block: suspend (inp: AudioStream, outp: AudioSamplesDeque) -> Unit): Sound