AudioStreamInfo

data class AudioStreamInfo(val sampleRate: Int, val channels: Int, val sampleFormat: SampleFormat, val channelLayoutMask: Long? = null)

What the container declares about an audio stream.

Constructors

Link copied to clipboard
constructor(sampleRate: Int, channels: Int, sampleFormat: SampleFormat, channelLayoutMask: Long? = null)

Properties

Link copied to clipboard

Which speaker each channel belongs to, as FFmpeg's native order mask: one bit per speaker.

Link copied to clipboard

The channel count.

Link copied to clipboard

The sample format the decoder produces.

Link copied to clipboard

Samples per second, for each channel.