STRUCT SOF_IPC4_GAIN_PARAMS(9)
π struct sof_ipc4_gain_params(9) π
okay bestie, welcome to the Kernel API Manual, page struct sof_ipc4_gain_params(9) β yes that's the whole title, we're being extra about it today π
β¨ NAME β¨
struct sof_ipc4_gain_params β the IPC gain parameters struct. literally what it says on the tin, no cap π
πΈ SYNOPSIS πΈ
here's the whole vibe, character for character, don't touch a single char bestie:
struct sof_ipc4_gain_params {
uint32_t channels;
uint32_t init_val;
uint32_t curve_type;
uint32_t reserved;
uint32_t curve_duration_l;
uint32_t curve_duration_h;
};
π Members π
okay so let's meet the cast, each one is kinda iconic in its own way π«Ά
channelsβ Channels. that's it, that's the whole description, she's mysterious like that β¨init_valβ Initial value. the starting point, the origin story, the before pic πΈcurve_typeβ Curve type. which flavor of curve we're dealing with πreservedβ reserved for future use. she's not doing anything rn but she's reserved, like a table at a nice restaurant πcurve_duration_lβ Curve duration low part. the low half of the curve duration, keep her safe πcurve_duration_hβ Curve duration high part. and the high half, together they're a matched set π¦
π₯ SEE ALSO π₯
the whole friend group, no one gets left out fr fr:
- Kernel file
./sound/soc/sof/ipc4-topology.h - struct
sof_ipc4_pipeline(9) - struct
ipc4_pipeline_set_state_data(9) - struct
sof_ipc4_pin_format(9) - struct
sof_ipc4_available_audio_format(9) - struct
sof_copier_gateway_cfg(9) - struct
sof_ipc4_copier_data(9) - struct
sof_ipc4_gtw_attributes(9) - struct
sof_ipc4_dma_device_stream_ch_map(9) - struct
sof_ipc4_dma_stream_ch_map(9) - struct
sof_ipc4_dma_config(9) - struct
sof_ipc4_dma_config_tlv(9) - struct
sof_ipc4_copier(9) - struct
sof_ipc4_ctrl_value_chan(9) - struct
sof_ipc4_control_data(9) - struct
sof_ipc4_control_msg_payload(9) - struct
sof_ipc4_gain_data(9) - struct
sof_ipc4_gain(9) - struct
sof_ipc4_mixer(9) - struct
sof_ipc4_src(9) - struct
sof_ipc4_asrc(9) - struct
sof_ipc4_base_module_cfg_ext(9) - struct
sof_ipc4_process(9)
π reminder bestie: reserved is reserved for future use, so don't be out here using it for your own lil experiments, she's got plans okay π
mwah, that's the page! this lil number lives in ./sound/soc/sof and it's serving October 2026 energy β and yes, the page name is still struct sof_ipc4_gain_params(9), she's consistent πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms