STRUCT SOF_IPC4_GAIN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 serving
  • available_fmt β€” Available audio format 🌈 the format menu, the options, the "what can we actually play" energy
  • msg β€” 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