AudioFormat

fun AudioFormat(    sampleRateHz: Int,     bitsPerSample: Int,     numChannels: Int)

Parameters

sampleRateHz

the sample rate expressed in Hertz

bitsPerSample

the number of bit per sample

numChannels

the number of channels. mono : 1, stereo : 2