Home
last modified time | relevance | path

Searched refs:sinks (Results 1 – 10 of 10) sorted by relevance

/sof-3.4.0/src/audio/crossover/
Dcrossover_generic.c91 struct comp_buffer __sparse_cache *sinks[], in crossover_s16_default_pass() argument
104 if (!sinks[j]) in crossover_s16_default_pass()
106 y = audio_stream_write_frag_s16((&sinks[j]->stream), i); in crossover_s16_default_pass()
116 struct comp_buffer __sparse_cache *sinks[], in crossover_s32_default_pass() argument
128 if (!sinks[j]) in crossover_s32_default_pass()
130 y = audio_stream_write_frag_s32((&sinks[j]->stream), i); in crossover_s32_default_pass()
140 struct comp_buffer __sparse_cache *sinks[], in crossover_s16_default() argument
162 if (!sinks[j]) in crossover_s16_default()
164 sink_stream = &sinks[j]->stream; in crossover_s16_default()
179 struct comp_buffer __sparse_cache *sinks[], in crossover_s24_default() argument
[all …]
Dcrossover.c128 struct comp_buffer **sinks) in crossover_assign_sinks() argument
152 sinks[num_sinks++] = sink; in crossover_assign_sinks()
168 if (sinks[i]) { in crossover_assign_sinks()
175 sinks[i] = sink; in crossover_assign_sinks()
595 struct comp_buffer *sinks[SOF_CROSSOVER_MAX_STREAMS] = { NULL }; in crossover_copy() local
632 num_assigned_sinks = crossover_assign_sinks(dev, cd->config, sinks); in crossover_copy()
647 if (!sinks[i]) in crossover_copy()
653 sinks_c[i] = buffer_acquire(sinks[i]); in crossover_copy()
662 if (sinks[i]) in crossover_copy()
671 if (!sinks[i]) in crossover_copy()
[all …]
/sof-3.4.0/test/cmocka/src/audio/
Dmodule_adapter_test.c33 test_data->sinks = test_calloc(test_data->num_sinks, sizeof(struct comp_buffer *)); in module_adapter_test_setup()
49 test_data->sinks[i] = create_test_sink(dev, 0, parameters->sink_format, in module_adapter_test_setup()
52 test_data->output_buffers[i]->data = &test_data->sinks[i]->stream; in module_adapter_test_setup()
75 free_test_sink(test_data->sinks[i]); in module_adapter_test_free()
86 test_free(test_data->sinks); in module_adapter_test_free()
Dmodule_adapter.h18 struct comp_buffer **sinks; member
/sof-3.4.0/test/cmocka/src/audio/mixer/
Dmixer_test.c85 md->mix_func = mixer_get_processing_function(test_data->mod->dev, test_data->sinks[0]); in test_setup()
128 md->mix_func(mod->dev, &tc->sinks[0]->stream, sources_stream, tc->num_sources, in test_audio_mixer_copy()
131 for (smp = 0; smp < tc->sinks[0]->stream.size / sizeof(int32_t); ++smp) { in test_audio_mixer_copy()
144 uint32_t *out_samples = tc->sinks[0]->stream.addr; in test_audio_mixer_copy()
/sof-3.4.0/test/cmocka/src/audio/mux/
Ddemux_copy.c27 struct comp_buffer *sinks[MUX_MAX_STREAMS]; member
130 td->sinks[i] = create_test_sink(td->dev, i, td->format, PLATFORM_MAX_CHANNELS, in prepare_sinks()
133 td->outputs[i] = td->sinks[i]->stream.addr; in prepare_sinks()
134 assert_int_equal(audio_stream_get_free_bytes(&td->sinks[i]->stream), buffer_size); in prepare_sinks()
189 free_test_sink(td->sinks[i]); in teardown_test_case()
/sof-3.4.0/src/include/sof/audio/module_adapter/iadk/
Dprocessing_module_factory_interface.h53 PinEndpoint *sinks; member
/sof-3.4.0/src/include/sof/audio/crossover/
Dcrossover.h71 struct comp_buffer __sparse_cache *sinks[],
/sof-3.4.0/test/cmocka/src/audio/volume/
Dvolume_process.c74 cd->scale_vol = vol_get_processing_function(vol_state->mod->dev, vol_state->sinks[0]); in setup()
265 switch (vol_state->sinks[0]->stream.frame_fmt) { in test_audio_vol()
287 vol_state->verify(mod, vol_state->sinks[0], vol_state->sources[0]); in test_audio_vol()
/sof-3.4.0/tools/tune/crossover/
Dcrossover_plot_freq.m3 % that represents the path the samples go through for each sinks.