STRUCT PARAM_ID_HW_EP_FRAME_DURATION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is struct param_id_hw_ep_frame_duration β€” and it's literally the Hardware endpoint frame duration struct, no cap. we're in the Kernel API Manual and this page is here to explain the whole vibe of this struct. periodt. πŸ’…βœ¨


✨ SYNOPSIS ✨

here's the exact shape of it, character for character, because we don't play about code:

struct param_id_hw_ep_frame_duration {
    uint32_t frame_duration_in_us;
    uint32_t allow_frame_duration_normalization;
    uint32_t min_normalized_frame_dur_us;
    uint32_t max_normalized_frame_dur_us;
 };

πŸŽ€ MEMBERS πŸŽ€

  • frame_duration_in_us β€” the frame duration in microseconds πŸ’… that's it, that's the field, short and iconic.
  • allow_frame_duration_normalization β€” this one gives SPF permission to normalize frame duration. like a green light, bestie 🟒 it's giving "go off, normalize".
  • min_normalized_frame_dur_us β€” the minimum normalized frame duration in microseconds. the lower bound, the floor, the ✨minimum✨.
  • max_normalized_frame_dur_us β€” the maximum normalized frame duration in microseconds. the upper bound, the ceiling, the ✨maximum✨.

🌸 DESCRIPTION 🌸

so what does this struct actually do? it configures the frame duration for the Audio IF hardware endpoint, and when that normalization thing is enabled, it also handles the allowed normalization range. that's the whole assignment, and it ate πŸ”₯ fr fr. this struct is lowkey carrying the normalization config on its back and we're obsessed 😭🫢

πŸ¦‹ SEE ALSO πŸ¦‹

peep these related structs and files, they're all part of the same friend group, iykyk:

  • 🌈 Kernel file ./sound/soc/qcom/qdsp6/audioreach.h
  • struct event_cfg_sh_mem_pull_push_mode_watermark_t(9)
  • struct apm_module_register_events(9)
  • struct apm_module_event(9)
  • struct param_id_sh_mem_pull_push_mode_cfg(9)
  • struct sh_mem_pull_push_mode_position_buffer(9)

that's the whole page, bestie 🫢 it came from ./sound/soc/qcom/qdsp6 and it's dated October 2026, so you know it's current and valid. mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from