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