ff_audio_data_init

Initialize AudioData using a given source.

This does not allocate an internal buffer. It only sets the data pointers and audio parameters.

@param a AudioData struct @param src source data pointers @param plane_size plane size, in bytes. This can be 0 if unknown, but that will lead to optimized functions not being used in many cases, which could slow down some conversions. @param channels channel count @param nb_samples number of samples in the source data @param sample_fmt sample format @param read_only indicates if buffer is read only or read/write @param name name for debug logging (can be NULL) @return 0 on success, negative AVERROR value on error

@nogc nothrow extern (C)
int
ff_audio_data_init

Meta