setSamples

open fun setSamples(samples: Array<Byte>)

Deprecated

use setSamplesShorts instead.

Replaces the samples that will be written to the source.

Parameters

samples

The audio samples, converted to shorts before being stored.