STRUCT SOF_IPC4_GAIN(9)
π struct sof_ipc4_gain(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this is the page for struct sof_ipc4_gain, and it's literally just "gain config data" β that's the whole NAME section, short and iconic π
πΈ SYNOPSIS πΈ
like, here's the whole shape of her, no cap:
struct sof_ipc4_gain {
struct sof_ipc4_gain_data data;
struct sof_ipc4_available_audio_format available_fmt;
struct sof_ipc4_msg msg;
};
three members, three vibes, we love a tidy little struct π«Ά
β¨ MEMBERS β¨
dataβ the IPC gain blob π that's it, that's the description, she's a blob and she's servingavailable_fmtβ Available audio format π the format menu, the options, the "what can we actually play" energymsgβ message structure for gain π the actual message-struct situation for this gain
π¦ SEE ALSO π¦
bestie there are SO many siblings, this struct has main character energy in a huge family π the Kernel file is ./sound/soc/sof/ipc4-topology.h, and here's everyone in the group chat:
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_params(9)struct sof_ipc4_gain_data(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)
like, go read all of them, iykyk ππ
and that's the tea π this page lives at ./sound/soc/sof and it's dated October 2026, so mark your calendar bestie π slay, bye π
β¨
π¦ 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