AudioFrameFormat

fun AudioFrameFormat(bitsPerSample: Int, sampleRateHz: Int, channelCount: Int)

Parameters

bitsPerSample

The number of bits per sample. Currently only 16 is supported for custom tracks.

sampleRateHz

The number of samples per second, for example 48000.

channelCount

The number of channels -- 1 for mono, 2 for stereo.