Sound Open Firmware
Loading...
Searching...
No Matches

Audio component base device "class" used by all other component types. More...

#include <src/include/sof/audio/component.h>

Collaboration diagram for comp_dev:

Data Fields

uint16_t state
 Component state (COMP_STATE_*)
 
uint32_t frames
 Number of frames copied to sink.
 
bool expect_eos
 End of stream expected flag.
 
struct pipeline * pipeline
 Parent pipeline reference.
 
struct task * task
 Component processing task (cross-core or DP)
 
uint32_t size
 Component allocated size in bytes.
 
uint32_t period
 Component processing period in microseconds.
 
uint32_t priority
 Component processing priority.
 
bool is_shared
 True if component is shared across cores.
 
struct comp_ipc_config ipc_config
 Component IPC configuration.
 
struct tr_ctx tctx
 Trace settings.
 
uint32_t direction
 Stream direction (enum sof_ipc_stream_direction)
 
bool direction_set
 Flag indicating that direction has been set.
 
const struct comp_driver * drv
 Component driver.
 
struct processing_module * mod
 Module adapter reference.
 
struct list_item bsource_list
 List of source buffers.
 
struct list_item bsink_list
 List of sink buffers.
 
struct comp_perf_data perf_data
 Performance data.
 
size_t ibs
 Input Buffer Size for pin 0.
 
size_t obs
 Output Buffer Size for pin 0.
 
size_t cpc
 Max DSP cycles per chunk.
 
size_t ll_chunk_size: 16
 Size of 1ms input format chunk in bytes.
 
void * priv_data
 Driver private data.
 

Detailed Description

Audio component base device "class" used by all 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

Max DSP cycles per chunk.

◆ direction

uint32_t comp_dev::direction

Stream direction (enum sof_ipc_stream_direction)

◆ direction_set

bool comp_dev::direction_set

Flag indicating that direction has been set.

◆ drv

const struct comp_driver* comp_dev::drv

Component driver.

◆ expect_eos

bool comp_dev::expect_eos

End of stream expected flag.

◆ frames

uint32_t comp_dev::frames

Number of frames copied to sink.

◆ ibs

size_t comp_dev::ibs

Input Buffer Size for pin 0.

◆ ipc_config

struct comp_ipc_config comp_dev::ipc_config

Component IPC configuration.

◆ is_shared

bool comp_dev::is_shared

True if component is shared across cores.

◆ ll_chunk_size

size_t comp_dev::ll_chunk_size

Size of 1ms input format chunk in bytes.

◆ mod

struct processing_module* comp_dev::mod

Module adapter reference.

◆ obs

size_t comp_dev::obs

Output Buffer Size for pin 0.

◆ perf_data

struct comp_perf_data comp_dev::perf_data

Performance data.

◆ period

uint32_t comp_dev::period

Component processing period in microseconds.

◆ pipeline

struct pipeline* comp_dev::pipeline

Parent pipeline reference.

◆ priority

uint32_t comp_dev::priority

Component processing priority.

◆ priv_data

void* comp_dev::priv_data

Driver private data.

◆ size

uint32_t comp_dev::size

Component allocated size in bytes.

◆ state

uint16_t comp_dev::state

Component state (COMP_STATE_*)

◆ task

struct task* comp_dev::task

Component processing task (cross-core or DP)

◆ tctx

struct tr_ctx comp_dev::tctx

Trace settings.


The documentation for this struct was generated from the following file: