Home
last modified time | relevance | path

Searched refs:sink_bytes (Results 1 – 20 of 20) sorted by relevance

/sof-3.4.0/src/audio/mixer/
Dmixer.c90 uint32_t sink_bytes; in mixer_process() local
121 sink_bytes = dev->frames * audio_stream_frame_bytes(mod->output_buffers[0].data); in mixer_process()
122 if (!audio_stream_set_zero(mod->output_buffers[0].data, sink_bytes)) in mixer_process()
123 mod->output_buffers[0].size = sink_bytes; in mixer_process()
131 sink_bytes = frames * audio_stream_frame_bytes(mod->output_buffers[0].data); in mixer_process()
134 source_bytes, sink_bytes); in mixer_process()
153 mod->output_buffers[0].size = sink_bytes; in mixer_process()
/sof-3.4.0/src/lib/
Ddma.c331 uint32_t sink_bytes = audio_stream_sample_bytes(&sink->stream) * in dma_buffer_copy_from() local
341 buffer_stream_writeback(sink, sink_bytes); in dma_buffer_copy_from()
348 comp_update_buffer_produce(sink, sink_bytes); in dma_buffer_copy_from()
355 dma_process_func process, uint32_t sink_bytes) in dma_buffer_copy_to() argument
358 uint32_t samples = sink_bytes / in dma_buffer_copy_to()
370 audio_stream_writeback(ostream, sink_bytes); in dma_buffer_copy_to()
376 audio_stream_produce(ostream, sink_bytes); in dma_buffer_copy_to()
/sof-3.4.0/src/audio/dcblock/
Ddcblock.c272 uint32_t source_bytes, uint32_t sink_bytes) in dcblock_process() argument
280 buffer_stream_writeback(sink, sink_bytes); in dcblock_process()
284 comp_update_buffer_produce(sink, sink_bytes); in dcblock_process()
312 cl.frames, cl.source_bytes, cl.sink_bytes); in dcblock_copy()
/sof-3.4.0/src/audio/aria/
Daria.c302 uint32_t sink_bytes; in aria_copy() local
321 sink_bytes = c.frames * c.sink_frame_bytes; in aria_copy()
339 aria_process_data(dev, cd->buf_out, sink_bytes / sizeof(uint32_t), in aria_copy()
354 buffer_stream_writeback(sink_c, sink_bytes); in aria_copy()
356 comp_update_buffer_produce(sink_c, sink_bytes); in aria_copy()
/sof-3.4.0/src/audio/up_down_mixer/
Dup_down_mixer.c428 uint32_t source_bytes, sink_bytes; in up_down_mixer_process() local
437 sink_bytes = mix_frames * audio_stream_frame_bytes(mod->output_buffers[0].data); in up_down_mixer_process()
450 sink_bytes / sink_sample_bytes); in up_down_mixer_process()
451 mod->output_buffers[0].size = sink_bytes; in up_down_mixer_process()
/sof-3.4.0/src/audio/drc/
Ddrc.c310 uint32_t source_bytes, uint32_t sink_bytes) in drc_process() argument
318 buffer_stream_writeback(sink, sink_bytes); in drc_process()
322 comp_update_buffer_produce(sink, sink_bytes); in drc_process()
359 cl.sink_bytes); in drc_copy()
/sof-3.4.0/src/audio/mux/
Dmux.c466 int sink_bytes; in demux_process() local
497 sink_bytes = frames * audio_stream_frame_bytes(mod->output_buffers[0].data); in demux_process()
504 mod->output_buffers[i].size = sink_bytes; in demux_process()
524 int sink_bytes; in mux_process() local
553 sink_bytes = frames * audio_stream_frame_bytes(mod->output_buffers[0].data); in mux_process()
561 mod->output_buffers[0].size = sink_bytes; in mux_process()
/sof-3.4.0/src/audio/rtnr/
Drtnr.c759 int sink_bytes; in rtnr_copy() local
796 sink_bytes = frames * audio_stream_frame_bytes(&sink->stream); in rtnr_copy()
823 buffer_stream_writeback(sink, sink_bytes); in rtnr_copy()
827 comp_update_buffer_produce(sink, sink_bytes); in rtnr_copy()
840 buffer_stream_writeback(sink, cl.sink_bytes); in rtnr_copy()
842 comp_update_buffer_produce(sink, cl.sink_bytes); in rtnr_copy()
/sof-3.4.0/src/audio/multiband_drc/
Dmultiband_drc.c454 uint32_t source_bytes, uint32_t sink_bytes) in multiband_drc_process() argument
462 buffer_stream_writeback(sink, sink_bytes); in multiband_drc_process()
466 comp_update_buffer_produce(sink, sink_bytes); in multiband_drc_process()
502 multiband_drc_process(dev, source_c, sink_c, cl.frames, cl.source_bytes, cl.sink_bytes); in multiband_drc_copy()
/sof-3.4.0/src/audio/mixin_mixout/
Dmixin_mixout.c484 uint32_t sink_bytes; in mixout_process() local
549 sink_bytes = frames_to_produce * in mixout_process()
551 output_buffers[0].size = sink_bytes; in mixout_process()
553 sink_bytes = dev->frames * audio_stream_frame_bytes(output_buffers[0].data); in mixout_process()
554 if (!audio_stream_set_zero(output_buffers[0].data, sink_bytes)) in mixout_process()
555 output_buffers[0].size = sink_bytes; in mixout_process()
/sof-3.4.0/src/audio/selector/
Dselector.c393 uint32_t sink_bytes; in selector_copy() local
414 sink_bytes = frames * audio_stream_frame_bytes(&sink_c->stream); in selector_copy()
417 source_bytes, sink_bytes); in selector_copy()
422 buffer_stream_writeback(sink_c, sink_bytes); in selector_copy()
425 comp_update_buffer_produce(sink_c, sink_bytes); in selector_copy()
/sof-3.4.0/src/audio/
Dcomponent.c169 cl->sink_bytes = cl->frames * cl->sink_frame_bytes; in comp_get_copy_limits()
180 cl->sink_bytes = cl->frames * cl->sink_frame_bytes; in comp_get_copy_limits_frame_aligned()
/sof-3.4.0/src/samples/audio/
Dsmart_amp_test.c657 uint32_t sink_bytes; in smart_amp_copy() local
703 sink_bytes = avail_frames * in smart_amp_copy()
710 buffer_stream_writeback(sink_buf, sink_bytes); in smart_amp_copy()
714 comp_update_buffer_produce(sink_buf, sink_bytes); in smart_amp_copy()
/sof-3.4.0/src/audio/smart_amp/
Dsmart_amp.c582 uint32_t sink_bytes; in smart_amp_copy() local
624 sink_bytes = avail_frames * audio_stream_frame_bytes(&sink_buf->stream); in smart_amp_copy()
630 buffer_stream_writeback(sink_buf, sink_bytes); in smart_amp_copy()
634 comp_update_buffer_produce(sink_buf, sink_bytes); in smart_amp_copy()
/sof-3.4.0/src/audio/igo_nr/
Digo_nr.c629 uint32_t sink_bytes = frames * cl->sink_frame_bytes; in igo_nr_process() local
635 buffer_stream_writeback(sink, sink_bytes); in igo_nr_process()
639 comp_update_buffer_produce(sink, sink_bytes); in igo_nr_process()
/sof-3.4.0/src/audio/google/
Dgoogle_rtc_audio_processing.c706 buffer_stream_writeback(output_buf, cl.sink_bytes);
708 comp_update_buffer_produce(output_buf, cl.sink_bytes);
/sof-3.4.0/src/audio/copier/
Dcopier.c1248 buffer_stream_writeback(sink, processed_data->sink_bytes); in do_conversion_copy()
1249 comp_update_buffer_produce(sink, processed_data->sink_bytes); in do_conversion_copy()
1324 processed_data.sink_bytes = 0; in copier_copy()
1327 cd->output_total_data_processed += processed_data.sink_bytes; in copier_copy()
/sof-3.4.0/src/include/sof/audio/
Dcomponent.h622 int sink_bytes; member
/sof-3.4.0/xtos/include/sof/lib/
Ddma.h538 dma_process_func process, uint32_t sink_bytes);
/sof-3.4.0/src/audio/module_adapter/module/volume/
Dvolume.c1501 c.source_bytes, c.sink_bytes); in volume_copy()