X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fasrc_abuffer.h;h=aa3446166f5b9797467240ee5e5f53a554739ff5;hb=ad12e9e8c054b904d564e1a183b73104bca2e3d5;hp=4352c746460bb0339c5b79a9ec15f040403de920;hpb=c047afb80c7373c8533f5aeff6413015a814faaf;p=ffmpeg diff --git a/libavfilter/asrc_abuffer.h b/libavfilter/asrc_abuffer.h index 4352c746460..aa3446166f5 100644 --- a/libavfilter/asrc_abuffer.h +++ b/libavfilter/asrc_abuffer.h @@ -24,6 +24,8 @@ /** * @file * memory buffer source for audio + * + * @deprecated use buffersrc.h instead. */ /** @@ -38,7 +40,10 @@ * @param planar flag to indicate if audio data is planar or packed * @param pts presentation timestamp of the audio buffer * @param 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, @@ -59,7 +64,10 @@ int av_asrc_buffer_add_samples(AVFilterContext *abuffersrc, * @param ch_layout channel layout of the audio data * @param pts presentation timestamp of the audio buffer * @param 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, @@ -72,7 +80,10 @@ int av_asrc_buffer_add_buffer(AVFilterContext *abuffersrc, * @param abuffersrc audio source buffer context * @param samplesref buffer ref to queue * @param flags unused + * + * @deprecated use av_buffersrc_add_ref() instead. */ +attribute_deprecated int av_asrc_buffer_add_audio_buffer_ref(AVFilterContext *abuffersrc, AVFilterBufferRef *samplesref, int av_unused flags);