Skip to content

//sorisdk/com.iplateia.afplib/AfpGenerator/setAudioParams

setAudioParams

[androidJvm]
fun setAudioParams(rate: Int, nchannels: Int, nsamplebytes: Int)

Sets audio parameters for recording.

Parameters

androidJvm

rateThe sample rate in Hz.
nchannelsThe number of audio channels.
nsamplebytesThe number of bytes per audio sample.