Sound Open Firmware
Loading...
Searching...
No Matches
comp_dev Struct Reference

Audio component base device "class". More...

#include <component.h>

Collaboration diagram for comp_dev:

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

Detailed Description

Audio component base device "class".

  • used by other component types.

Field Documentation

◆ bsink_list

struct list_item comp_dev::bsink_list

list of sink buffers

◆ bsource_list

struct list_item comp_dev::bsource_list

list of source buffers

◆ cpc

size_t comp_dev::cpc

◆ direction

uint32_t comp_dev::direction

◆ direction_set

bool comp_dev::direction_set

flag indicating that the direction has been set

◆ drv

const struct comp_driver* comp_dev::drv

driver

◆ frames

uint32_t comp_dev::frames

number of frames we copy to sink

◆ ibs

size_t comp_dev::ibs

◆ ipc_config

struct comp_ipc_config comp_dev::ipc_config

Component IPC configuration.

◆ is_shared

bool comp_dev::is_shared

indicates whether component is shared across cores

◆ ll_chunk_size

size_t comp_dev::ll_chunk_size

◆ mod

struct processing_module* comp_dev::mod

self->mod->dev == self, NULL if component is not using module adapter

◆ obs

size_t comp_dev::obs

◆ perf_data

struct comp_perf_data comp_dev::perf_data

◆ period

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"

◆ pipeline

struct pipeline* comp_dev::pipeline

pipeline we belong to

◆ priority

uint32_t comp_dev::priority

component's processing priority

◆ priv_data

void* comp_dev::priv_data

private data

◆ size

uint32_t comp_dev::size

component's allocated size

◆ state

uint16_t comp_dev::state

COMP_STATE_.

◆ task

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

◆ tctx

struct tr_ctx comp_dev::tctx

trace settings


The documentation for this struct was generated from the following file:
  • /home/lrg/work/sof-dox-work/src/include/sof/audio/component.h