Lines Matching refs:current_buffer
338 AudioData *current_buffer;
378 current_buffer = &input_buffer;
384 av_log(avr, AV_LOG_TRACE, "[copy] %s to output\n", current_buffer->name);
385 ret = ff_audio_data_copy(&output_buffer, current_buffer,
390 current_buffer = &output_buffer;
396 av_log(avr, AV_LOG_TRACE, "[copy] %s to out_buffer\n", current_buffer->name);
397 ret = ff_audio_data_copy(avr->out_buffer, current_buffer,
401 current_buffer = avr->out_buffer;
407 current_buffer->nb_samples);
410 av_log(avr, AV_LOG_TRACE, "[convert] %s to in_buffer\n", current_buffer->name);
412 current_buffer);
416 av_log(avr, AV_LOG_TRACE, "[copy] %s to in_buffer\n", current_buffer->name);
417 ret = ff_audio_data_copy(avr->in_buffer, current_buffer,
430 current_buffer = avr->in_buffer;
437 current_buffer = NULL;
448 current_buffer ? current_buffer->name : "null",
451 current_buffer);
461 current_buffer = resample_out;
465 av_log(avr, AV_LOG_TRACE, "[upmix] %s\n", current_buffer->name);
466 ret = ff_audio_mix(avr->am, current_buffer);
472 if (current_buffer == &output_buffer) {
474 return current_buffer->nb_samples;
478 if (direct_output && out_samples >= current_buffer->nb_samples) {
480 av_log(avr, AV_LOG_TRACE, "[convert] %s to output\n", current_buffer->name);
481 ret = ff_audio_convert(avr->ac_out, &output_buffer, current_buffer);
489 current_buffer->nb_samples);
492 av_log(avr, AV_LOG_TRACE, "[convert] %s to out_buffer\n", current_buffer->name);
494 current_buffer);
497 current_buffer = avr->out_buffer;
502 current_buffer);