AudioInput

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

Per-input description for FilterGraph.buildAudioMulti.

Constructors

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

Properties

Link copied to clipboard

Which speaker each channel belongs to, as an FFmpeg channel mask, such as a decoded frame's FrameInfo.channelLayoutMask. Null means FFmpeg's default layout for channels. A frame whose layout differs from the declared one is refused by the graph.

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