Create an audio buffer reference wrapped around an already
allocated samples buffer.
See avfilter_get_audio_buffer_ref_from_arrays_channels() for a version
that can handle unknown channel layouts.
@param data pointers to the samples plane buffers
@param linesize linesize for the samples plane buffers
@param perms the required access permissions
@param nb_samples number of samples per channel
@param sample_fmt the format of each sample in the buffer to allocate
@param channel_layout the channel layout of the buffer
Create an audio buffer reference wrapped around an already allocated samples buffer.
See avfilter_get_audio_buffer_ref_from_arrays_channels() for a version that can handle unknown channel layouts.
@param data pointers to the samples plane buffers @param linesize linesize for the samples plane buffers @param perms the required access permissions @param nb_samples number of samples per channel @param sample_fmt the format of each sample in the buffer to allocate @param channel_layout the channel layout of the buffer