STRUCT SOF_IPC4_GAIN_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay bestie, so this is the manpage for struct sof_ipc4_gain_data(9) β€” literally the IPC gain init blob, and it's giving "main character energy" in the audio firmware world πŸ’…. If you're here, you probably need to know what goes into setting up a gain module, and I'm gonna walk you through it like we're on FaceTime. No cap.


🌸 SYNOPSIS 🌸

struct sof_ipc4_gain_data {
    struct sof_ipc4_base_module_cfg base_config;
    struct sof_ipc4_gain_params params;
};

πŸ‘‘ Members πŸ‘‘

  • base_config β€” the IPC base config data, aka the foundational vibe check for your module. You always need this, periodt. It's the lowkey backbone 🫢.
  • params β€” the initial parameters for the gain module. Think of it like the starter settings before you go off and customize things β€” the default fit, fr fr ✨.

🌈 SEE ALSO 🌈

If you're nosy (same) and want the whole friend group this struct hangs with, here's the full list β€” and yes, every single one is invited to the party πŸŽ€:

Kernel file ./sound/soc/sof/ipc4-topology.h β€” that's the address, bestie, iykyk.
  • 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(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)

Not me lowkey being obsessed with how clean this struct is β€” two members and it's already slaying 🧚. If you forget any of the SEE ALSO references, just know they're all in the same kernel file, living their best lives together πŸ’–.

This page lives in the ./sound/soc/sof directory, last touched in October 2026, and it's brought to you by the struct sof_ipc4_gain_data(9) girlies. Bye bestie β€” go make some iconic audio firmware πŸ’«πŸ¦‹.

πŸ“¦ where this page comes from