AudioSamplesDeque

class AudioSamplesDeque(val channels: Int)

Constructors

Link copied to clipboard
constructor(channels: Int)

Properties

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

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun copyTo(out: AudioSamplesDeque, temp: AudioSamples = createTempSamples())
Link copied to clipboard
Link copied to clipboard
fun read(channel: Int): Short
fun read(out: AudioSamples, offset: Int = 0, len: Int = out.totalSamples - offset): Int
fun read(out: AudioSamplesInterleaved, offset: Int = 0, len: Int = out.totalSamples - offset): Int
fun read(out: IAudioSamples, offset: Int = 0, len: Int = out.totalSamples - offset): Int
Link copied to clipboard
fun readFloat(channel: Int): Float
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun write(channel: Int, sample: Short)
fun write(samples: AudioSamples, offset: Int = 0, len: Int = samples.totalSamples - offset)
fun write(samples: AudioSamplesInterleaved, offset: Int = 0, len: Int = samples.totalSamples - offset)
fun write(samples: IAudioSamples, offset: Int = 0, len: Int = samples.totalSamples - offset)
fun write(channel: Int, data: FloatArray, offset: Int = 0, len: Int = data.size - offset)
fun write(channel: Int, data: ShortArray, offset: Int = 0, len: Int = data.size - offset)
Link copied to clipboard
fun writeFloat(channel: Int, sample: Float)
Link copied to clipboard
fun writeInterleaved(data: ShortArray, offset: Int, len: Int = data.size - offset, channels: Int = this.channels)