| @@ -38,7 +38,10 @@ · 37 unmodified lines |
| 38 | 38 | * @param planar flag to indicate if audio data is planar or packed |
| 39 | 39 | * @param pts presentation timestamp of the audio buffer |
| 40 | 40 | * @param flags unused |
| 41 | + * |
| 42 | + * @deprecated use av_buffersrc_add_ref() instead. |
| 41 | 43 | */ |
| 44 | +attribute_deprecated |
| 42 | 45 | int av_asrc_buffer_add_samples(AVFilterContext *abuffersrc, |
| 43 | 46 | uint8_t *data[8], int linesize[8], |
| 44 | 47 | int nb_samples, int sample_rate, |
| @@ -59,7 +62,10 @@ int av_asrc_buffer_add_samples(AVFilterContext *abuffersrc, · 14 unmodified lines |
| 59 | 62 | * @param ch_layout channel layout of the audio data |
| 60 | 63 | * @param pts presentation timestamp of the audio buffer |
| 61 | 64 | * @param flags unused |
| 65 | + * |
| 66 | + * @deprecated use av_buffersrc_add_ref() instead. |
| 62 | 67 | */ |
| 68 | +attribute_deprecated |
| 63 | 69 | int av_asrc_buffer_add_buffer(AVFilterContext *abuffersrc, |
| 64 | 70 | uint8_t *buf, int buf_size, |
| 65 | 71 | int sample_rate, |
| @@ -72,7 +78,10 @@ int av_asrc_buffer_add_buffer(AVFilterContext *abuffersrc, · 6 unmodified lines |
| 72 | 78 | * @param abuffersrc audio source buffer context |
| 73 | 79 | * @param samplesref buffer ref to queue |
| 74 | 80 | * @param flags unused |
| 81 | + * |
| 82 | + * @deprecated use av_buffersrc_add_ref() instead. |
| 75 | 83 | */ |
| 84 | +attribute_deprecated |
| 76 | 85 | int av_asrc_buffer_add_audio_buffer_ref(AVFilterContext *abuffersrc, |
| 77 | 86 | AVFilterBufferRef *samplesref, |
| 78 | 87 | int av_unused flags); |