AudioFrameFormat

data class AudioFrameFormat(val bitsPerSample: Int, val sampleRateHz: Int, val channelCount: Int)

Audio format information for a PCM buffer.

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.

Constructors

Link copied to clipboard
constructor(bitsPerSample: Int, sampleRateHz: Int, channelCount: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard