Home
last modified time | relevance | path

Searched refs:resample_buf (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/audio/
H A Daudio.c563 dst = sw->resample_buf.buffer; in audio_pcm_sw_resample_in()
597 sw->resample_buf.size); in audio_pcm_sw_read()
602 mixeng_volume(sw->resample_buf.buffer, total_out, &sw->vol); in audio_pcm_sw_read()
604 sw->clip(buf, sw->resample_buf.buffer, total_out); in audio_pcm_sw_read()
692 src = sw->resample_buf.buffer; in audio_pcm_sw_resample_out()
737 fe_max = MIN(buf_len / sw->info.bytes_per_frame + sw->resample_buf.pos, in audio_pcm_sw_write()
738 sw->resample_buf.size); in audio_pcm_sw_write()
745 if (frames_in_max > sw->resample_buf.pos) { in audio_pcm_sw_write()
746 sw->conv(sw->resample_buf.buffer + sw->resample_buf.pos, in audio_pcm_sw_write()
747 buf, frames_in_max - sw->resample_buf.pos); in audio_pcm_sw_write()
[all …]
H A Daudio_template.h105 g_free(sw->resample_buf.buffer); in glue()
106 sw->resample_buf.buffer = NULL; in glue()
107 sw->resample_buf.size = 0; in glue()
145 sw->resample_buf.buffer = g_new0(st_sample, samples); in glue()
146 sw->resample_buf.size = samples; in glue()
147 sw->resample_buf.pos = 0; in glue()
H A Daudio_int.h111 STSampleBuffer resample_buf; member
130 STSampleBuffer resample_buf; member