STRUCT SOF_IPC4_GAIN_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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