|
Sound Open Firmware
|
Audio component base device "class". More...
#include <component.h>

Data Fields | |
| uint16_t | state |
| COMP_STATE_. | |
| uint32_t | frames |
| number of frames we copy to sink | |
| struct pipeline * | pipeline |
| pipeline we belong to | |
| struct task * | task |
| component's processing task used 1) for components running on different core than the rest of the pipeline 2) for all DP tasks | |
| uint32_t | size |
| component's allocated size | |
| uint32_t | period |
| component's processing period for LL modules is set to LL pipeline's period for DP module its meaning is "the time the module MUST
provide data that allows the following module to perform
without glitches" | |
| uint32_t | priority |
| component's processing priority | |
| bool | is_shared |
| indicates whether component is shared across cores | |
| struct comp_ipc_config | ipc_config |
| Component IPC configuration. | |
| struct tr_ctx | tctx |
| trace settings | |
| uint32_t | direction |
| enum sof_ipc_stream_direction | |
| bool | direction_set |
| flag indicating that the direction has been set | |
| const struct comp_driver * | drv |
| driver | |
| struct processing_module * | mod |
| self->mod->dev == self, NULL if component is not using module adapter | |
| struct list_item | bsource_list |
| list of source buffers | |
| struct list_item | bsink_list |
| list of sink buffers | |
| struct comp_perf_data | perf_data |
| size_t | ibs |
| size_t | obs |
| size_t | cpc |
| size_t | ll_chunk_size: 16 |
| void * | priv_data |
| private data | |
Audio component base device "class".
| struct list_item comp_dev::bsink_list |
list of sink buffers
| struct list_item comp_dev::bsource_list |
list of source buffers
| size_t comp_dev::cpc |
| uint32_t comp_dev::direction |
| bool comp_dev::direction_set |
flag indicating that the direction has been set
| const struct comp_driver* comp_dev::drv |
driver
| uint32_t comp_dev::frames |
number of frames we copy to sink
| size_t comp_dev::ibs |
| struct comp_ipc_config comp_dev::ipc_config |
Component IPC configuration.
| bool comp_dev::is_shared |
indicates whether component is shared across cores
| size_t comp_dev::ll_chunk_size |
| struct processing_module* comp_dev::mod |
self->mod->dev == self, NULL if component is not using module adapter
| size_t comp_dev::obs |
| struct comp_perf_data comp_dev::perf_data |
| uint32_t comp_dev::period |
component's processing period for LL modules is set to LL pipeline's period for DP module its meaning is "the time the module MUST provide data that allows the following module to perform without glitches"
| struct pipeline* comp_dev::pipeline |
pipeline we belong to
| uint32_t comp_dev::priority |
component's processing priority
| void* comp_dev::priv_data |
private data
| uint32_t comp_dev::size |
component's allocated size
| uint16_t comp_dev::state |
COMP_STATE_.
| struct task* comp_dev::task |
component's processing task used 1) for components running on different core than the rest of the pipeline 2) for all DP tasks
| struct tr_ctx comp_dev::tctx |
trace settings