Audio Frame Format
data class AudioFrameFormat(bitsPerSample: Int, sampleRateHz: Int, channelCount: Int)
Content copied to clipboard
Audio format information for a PCM buffer.
Parameters
bits Per Sample
The number of bits per sample. Currently only 16 is supported for custom tracks.
sample Rate Hz
The number of samples per second, for example 48000.
channel Count
The number of channels -- 1 for mono, 2 for stereo.
Constructors
Link copied to clipboard
fun AudioFrameFormat(bitsPerSample: Int, sampleRateHz: Int, channelCount: Int)
Content copied to clipboard