AudioFormat
data class AudioFormat( val sampleRateHz: Int, val bitsPerSample: Int, val numChannels: Int)
Content copied to clipboard
Describe format of PCM audio
Parameters
sampleRateHz
the sample rate expressed in Hertz
bitsPerSample
the number of bit per sample
numChannels
the number of channels. mono : 1, stereo : 2
Constructors
Link copied to clipboard
fun AudioFormat( sampleRateHz: Int, bitsPerSample: Int, numChannels: Int)
Content copied to clipboard