Lines Matching refs:in_buffer
177 avr->in_buffer = ff_audio_data_alloc(FFMAX(avr->in_channels, avr->out_channels), in avresample_open()
180 if (!avr->in_buffer) { in avresample_open()
264 ff_audio_data_free(&avr->in_buffer); in avresample_close()
342 if (avr->in_buffer) { in avresample_convert()
343 avr->in_buffer->nb_samples = 0; in avresample_convert()
344 ff_audio_data_set_channels(avr->in_buffer, in avresample_convert()
345 avr->in_buffer->allocated_channels); in avresample_convert()
406 ret = ff_audio_data_realloc(avr->in_buffer, in avresample_convert()
411 ret = ff_audio_convert(avr->ac_in, avr->in_buffer, in avresample_convert()
417 ret = ff_audio_data_copy(avr->in_buffer, current_buffer, in avresample_convert()
423 ff_audio_data_set_channels(avr->in_buffer, avr->in_channels); in avresample_convert()
426 ret = ff_audio_mix(avr->am, avr->in_buffer); in avresample_convert()
430 current_buffer = avr->in_buffer; in avresample_convert()