Module ac_ffmpeg::codec::audio::frame

source ·
Expand description

Audio frame.

Structs

An audio frame with immutable data.
An audio frame with mutable data.
Channel layout.
Channel layout reference.
Audio plane. This is an array of audio sample data. Depending on the sample format, this can either be samples for a single channel, or for all channels multiplexed together.
A collection of audio planes. This type can be dereferenced into a slice of Plane. If the sample data is planar, you will get the same number of Plane’s as you have channels. If the sample data is packed (or interleaved), there will be a single plane containing data for all channels.
A collection of mutable audio planes.
Audio sample format.
An error indicating an unknown channel layout.
An error indicating an unknown sample format.

Functions

Get channel layout with a given name.
Get audio sample format with a given name.