Go to the source code of this file.
Enumerations
enum
AVSampleFormat {
AV_SAMPLE_FMT_NONE = -1,
AV_SAMPLE_FMT_U8,
AV_SAMPLE_FMT_S16,
AV_SAMPLE_FMT_S32,
AV_SAMPLE_FMT_FLT,
AV_SAMPLE_FMT_DBL,
AV_SAMPLE_FMT_U8P,
AV_SAMPLE_FMT_S16P,
AV_SAMPLE_FMT_S32P,
AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_DBLP,
AV_SAMPLE_FMT_NB
}
Functions
Return the name of sample_fmt, or NULL if sample_fmt is not recognized.
Return a sample format corresponding to name, or AV_SAMPLE_FMT_NONE on error.
Return the planar<->packed alternative form of the given sample format, or AV_SAMPLE_FMT_NONE on error.
Get the packed alternative form of the given sample format.
Get the planar alternative form of the given sample format.
Generate a string corresponding to the sample format with sample_fmt, or a header if sample_fmt is negative.
Return number of bytes per sample.
Check if the sample format is planar.
Get the required buffer size for the given audio parameters.
Fill plane data pointers and linesize for samples with sample format sample_fmt.
Allocate a samples buffer for nb_samples samples, and fill data pointers and linesize accordingly.
Allocate a data pointers array, samples buffer for nb_samples samples, and fill data pointers and linesize accordingly.
Copy samples from src to dst.
Fill an audio buffer with silence.