Open reimplementation of Might and Magic 6 7 8 game engine
Список задач
Член av_samples_alloc (uint8_t **audio_data, int *linesize, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align)
return the size of the allocated buffer in case of success at the next bump
Член av_samples_fill_arrays (uint8_t **audio_data, int *linesize, const uint8_t *buf, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align)
return minimum size in bytes required for the buffer in case of success at the next bump
Член avcodec_fill_audio_frame (AVFrame *frame, int nb_channels, enum AVSampleFormat sample_fmt, const uint8_t *buf, int buf_size, int align)
return the size in bytes required to store the samples in case of success, at the next libavutil bump