|
Sound Open Firmware
|
Audio format specification bitfields, sampling rates, bit depths, channel configurations, and pin format descriptors. More...

Files | |
| file | base-config.h |
| Firmware internal stream parameter and buffer format bridge routines for IPC4. | |
| file | base-config.h |
| IPC4 audio formats, sampling frequencies, bit depths, and pin descriptors. | |
Data Structures | |
| struct | AudioFormat |
| Standard audio format descriptor across all IPC4 modules and gateways. More... | |
| struct | LegacyModuleInitialSettings |
| Base module configuration parameters provided upon module instantiation. More... | |
| struct | InputPinFormat |
| Input pin format specification for multi-pin modules. More... | |
| struct | OutputPinFormat |
| Output pin format specification for multi-pin modules. More... | |
| struct | ipc4_base_module_cfg_ext |
| Extended module configuration header describing dynamic input and output pins. More... | |
| struct | ipc4_base_module_extended_cfg |
| Combined base and extended module configuration payload for easy parsing. More... | |
| struct | ipc4_pin_props |
| Runtime properties of a module pin connection. More... | |
| struct | ipc4_pin_list_info |
| List of active pin properties for a module instance. More... | |
| struct | ipc4_module_instance_props |
| Detailed module instance runtime state, memory consumption, and queue alignment. More... | |
| struct | ipc4_in_out_gateway |
| Direct gateway attachment identifiers for a module instance. More... | |
| union | ipc4_cfg_param_id_data |
| 16-bit small parameter register encoding for MOD_CONFIG_SET/GET. More... | |
Macros | |
| #define | ipc4_calc_base_module_cfg_ext_size(in_pins, out_pins) |
| Helper macro to calculate serialized byte size of struct ipc4_base_module_cfg_ext. | |
Functions | |
| void | ipc4_base_module_cfg_to_stream_params (const struct ipc4_base_module_cfg *base_cfg, struct sof_ipc_stream_params *params) |
| Convert an IPC4 base module configuration structure to internal SOF stream parameters. | |
| void | ipc4_audio_format_to_stream_params (const struct ipc4_audio_format *audio_fmt, struct sof_ipc_stream_params *params) |
| Convert an IPC4 audio format descriptor to internal SOF stream parameters. | |
| void | ipc4_update_buffer_format (struct comp_buffer *buf_c, const struct ipc4_audio_format *fmt) |
| Apply an IPC4 audio format configuration to an intermediate component buffer. | |
| void | ipc4_update_source_format (struct sof_source *source, const struct ipc4_audio_format *fmt) |
| Apply an IPC4 audio format configuration to an audio streaming source endpoint. | |
| void | ipc4_update_sink_format (struct sof_sink *sink, const struct ipc4_audio_format *fmt) |
| Apply an IPC4 audio format configuration to an audio streaming sink endpoint. | |
Audio format specification bitfields, sampling rates, bit depths, channel configurations, and pin format descriptors.
| #define ipc4_calc_base_module_cfg_ext_size | ( | in_pins, | |
| out_pins | |||
| ) |
Helper macro to calculate serialized byte size of struct ipc4_base_module_cfg_ext.
| enum ipc4_bit_depth |
Container bit depth for sample storage in memory.
| enum ipc4_channel_config |
Audio channel configurations and speaker mappings.
| enum ipc4_channel_index |
Logical channel position indices used in channel maps.
| enum ipc4_sample_type |
Audio sample representation and arithmetic type.
Standard PCM and encoded audio sampling frequencies supported by IPC4.
| enum ipc4_stream_type |
Stream container encoding type.
| void ipc4_audio_format_to_stream_params | ( | const struct ipc4_audio_format * | audio_fmt, |
| struct sof_ipc_stream_params * | params | ||
| ) |
Convert an IPC4 audio format descriptor to internal SOF stream parameters.
| [in] | audio_fmt | Pointer to the IPC4 audio format structure. |
| [out] | params | Destination SOF stream parameters structure to populate. |
| void ipc4_base_module_cfg_to_stream_params | ( | const struct ipc4_base_module_cfg * | base_cfg, |
| struct sof_ipc_stream_params * | params | ||
| ) |
Convert an IPC4 base module configuration structure to internal SOF stream parameters.
| [in] | base_cfg | Pointer to the IPC4 base module configuration. |
| [out] | params | Destination SOF stream parameters structure to populate. |
| void ipc4_update_buffer_format | ( | struct comp_buffer * | buf_c, |
| const struct ipc4_audio_format * | fmt | ||
| ) |
Apply an IPC4 audio format configuration to an intermediate component buffer.
| [in,out] | buf_c | Component buffer whose stream format will be updated. |
| [in] | fmt | IPC4 audio format specification to apply. |
| void ipc4_update_sink_format | ( | struct sof_sink * | sink, |
| const struct ipc4_audio_format * | fmt | ||
| ) |
Apply an IPC4 audio format configuration to an audio streaming sink endpoint.
| [in,out] | sink | Audio sink interface to configure. |
| [in] | fmt | IPC4 audio format specification to apply. |
| void ipc4_update_source_format | ( | struct sof_source * | source, |
| const struct ipc4_audio_format * | fmt | ||
| ) |
Apply an IPC4 audio format configuration to an audio streaming source endpoint.
| [in,out] | source | Audio source interface to configure. |
| [in] | fmt | IPC4 audio format specification to apply. |