|
Sound Open Firmware
|
Static pipeline module driver operations. More...
#include <src/include/sof/audio/pipeline/static_pipeline.h>

Data Fields | |
| const struct sof_uuid * | uuid |
| UUID of target audio component. | |
| struct comp_dev *(* | create )(const struct comp_driver *drv, struct comp_ipc_config *cfg, const struct sof_static_comp *cdesc, uint32_t period_us) |
| Instantiate and initialize the module component. | |
| int(* | apply_volume )(struct comp_dev *dev, uint32_t channels, int32_t val) |
| Apply linear volume gain to component. | |
| int(* | apply_volume_chan )(struct comp_dev *dev, uint32_t channel, int32_t val) |
| Apply linear volume gain to a specific channel. | |
| int(* | apply_switch )(struct comp_dev *dev, uint32_t channels, int32_t val) |
| Apply binary switch/mute state to component. | |
| int(* | apply_switch_chan )(struct comp_dev *dev, uint32_t channel, int32_t val) |
| Apply binary switch/mute state to a specific channel. | |
| int(* | apply_enum )(struct comp_dev *dev, uint32_t channel, int32_t val) |
| Apply enumerated route/value to component. | |
| int(* | apply_binary )(struct comp_dev *dev, const void *data, size_t size) |
| Apply raw binary configuration or coefficient blob to component. | |
| struct list_item | list |
| List node for registered ops. | |
Static pipeline module driver operations.
Audio processing modules register these operations to handle static instantiation (synthesizing any module-specific IPC init configuration) and runtime kcontrol manipulation (volume, switch/mute, enum) without requiring the generic pipeline loader to contain module-specific logic.
Apply raw binary configuration or coefficient blob to component.
| [in] | dev | Component device pointer. |
| [in] | data | Pointer to binary data blob. |
| [in] | size | Size of binary data in bytes. |
Apply enumerated route/value to component.
| [in] | dev | Component device pointer. |
| [in] | channel | Channel index. |
| [in] | val | Selected enumeration value. |
| int(* sof_static_module_ops::apply_switch) (struct comp_dev *dev, uint32_t channels, int32_t val) |
Apply binary switch/mute state to component.
| [in] | dev | Component device pointer. |
| [in] | channels | Channel count. |
| [in] | val | Binary switch value (0 = muted/bypass, 1 = unmuted/active). |
| int(* sof_static_module_ops::apply_switch_chan) (struct comp_dev *dev, uint32_t channel, int32_t val) |
Apply binary switch/mute state to a specific channel.
| [in] | dev | Component device pointer. |
| [in] | channel | Channel index (0-based). |
| [in] | val | Binary switch value (0 = muted/bypass, 1 = unmuted/active). |
| int(* sof_static_module_ops::apply_volume) (struct comp_dev *dev, uint32_t channels, int32_t val) |
Apply linear volume gain to component.
| [in] | dev | Component device pointer. |
| [in] | channels | Channel count to apply volume across. |
| [in] | val | Linear volume value (0 to INT32_MAX). |
| int(* sof_static_module_ops::apply_volume_chan) (struct comp_dev *dev, uint32_t channel, int32_t val) |
Apply linear volume gain to a specific channel.
| [in] | dev | Component device pointer. |
| [in] | channel | Channel index (0-based). |
| [in] | val | Linear volume value (0 to INT32_MAX). |
| struct comp_dev *(* sof_static_module_ops::create) (const struct comp_driver *drv, struct comp_ipc_config *cfg, const struct sof_static_comp *cdesc, uint32_t period_us) |
Instantiate and initialize the module component.
| [in] | drv | SOF component driver. |
| [in] | cfg | IPC component configuration. |
| [in] | cdesc | Static component descriptor. |
| [in] | period_us | Owning pipeline scheduling period in microseconds. |
| struct list_item sof_static_module_ops::list |
List node for registered ops.
| const struct sof_uuid* sof_static_module_ops::uuid |
UUID of target audio component.