write

abstract fun write(samples: ShortArray, applyFilters: Boolean = true)

Writes audio samples to the source.

Parameters

samples

The audio samples to write.

applyFilters

Whether the audio filters from device should be applied.


abstract fun write(samples: ByteArray)

Writes audio samples to the source without applying device filters.

Parameters

samples

The audio samples to write.