FFmpeg
|
asrc_abuffer.h File Reference
memory buffer source for audio More...
#include "avfilter.h"
Include dependency graph for asrc_abuffer.h:
Go to the source code of this file.
Functions | |
attribute_deprecated int | av_asrc_buffer_add_samples (AVFilterContext *abuffersrc, uint8_t *data[8], int linesize[8], int nb_samples, int sample_rate, int sample_fmt, int64_t ch_layout, int planar, int64_t pts, int av_unused flags) |
Queue an audio buffer to the audio buffer source. More... | |
attribute_deprecated int | av_asrc_buffer_add_buffer (AVFilterContext *abuffersrc, uint8_t *buf, int buf_size, int sample_rate, int sample_fmt, int64_t ch_layout, int planar, int64_t pts, int av_unused flags) |
Queue an audio buffer to the audio buffer source. More... | |
attribute_deprecated int | av_asrc_buffer_add_audio_buffer_ref (AVFilterContext *abuffersrc, AVFilterBufferRef *samplesref, int av_unused flags) |
Queue an audio buffer to the audio buffer source. More... | |
Detailed Description
memory buffer source for audio
- Deprecated:
- use buffersrc.h instead.
Definition in file asrc_abuffer.h.
Function Documentation
attribute_deprecated int av_asrc_buffer_add_audio_buffer_ref | ( | AVFilterContext * | abuffersrc, |
AVFilterBufferRef * | samplesref, | ||
int av_unused | flags | ||
) |
Queue an audio buffer to the audio buffer source.
- Parameters
-
abuffersrc audio source buffer context samplesref buffer ref to queue flags unused
- Deprecated:
- use av_buffersrc_add_ref() instead.
attribute_deprecated int av_asrc_buffer_add_buffer | ( | AVFilterContext * | abuffersrc, |
uint8_t * | buf, | ||
int | buf_size, | ||
int | sample_rate, | ||
int | sample_fmt, | ||
int64_t | ch_layout, | ||
int | planar, | ||
int64_t | pts, | ||
int av_unused | flags | ||
) |
Queue an audio buffer to the audio buffer source.
This is similar to av_asrc_buffer_add_samples(), but the samples are stored in a buffer with known size.
- Parameters
-
abuffersrc audio source buffer context buf pointer to the samples data, packed is assumed size the size in bytes of the buffer, it must contain an integer number of samples sample_fmt sample format of the audio data ch_layout channel layout of the audio data pts presentation timestamp of the audio buffer flags unused
- Deprecated:
- use av_buffersrc_add_ref() instead.
attribute_deprecated int av_asrc_buffer_add_samples | ( | AVFilterContext * | abuffersrc, |
uint8_t * | data[8], | ||
int | linesize[8], | ||
int | nb_samples, | ||
int | sample_rate, | ||
int | sample_fmt, | ||
int64_t | ch_layout, | ||
int | planar, | ||
int64_t | pts, | ||
int av_unused | flags | ||
) |
Queue an audio buffer to the audio buffer source.
- Parameters
-
abuffersrc audio source buffer context data pointers to the samples planes linesize linesizes of each audio buffer plane nb_samples number of samples per channel sample_fmt sample format of the audio data ch_layout channel layout of the audio data planar flag to indicate if audio data is planar or packed pts presentation timestamp of the audio buffer flags unused
- Deprecated:
- use av_buffersrc_add_ref() instead.
Generated on Fri Dec 20 2024 06:56:10 for FFmpeg by 1.8.11