STRUCT AFE_PARAM_ID_USB_AUDIO_DEV_LPCM_FMT(9)
β¨ struct afe_param_id_usb_audio_dev_lpcm_fmt(9) β¨
okay so bestie, buckle up π we're in the Kernel API Manual, section 9, and the star of this page is struct afe_param_id_usb_audio_dev_lpcm_fmt β a little struct living its best life in the kernel file ./sound/soc/qcom/qdsp6/q6afe.c. It's a whole vibe, it's giving "small but mighty," and we're gonna go through it together, no cap π«Ά
π NAME π
struct afe_param_id_usb_audio_dev_lpcm_fmt β
(and yes, the description line is literally empty up there π the struct name is carrying the entire section on its back, main character energy fr fr)
πΈ SYNOPSIS πΈ
here's the whole thing, character for character, copy it exactly bestie:
struct afe_param_id_usb_audio_dev_lpcm_fmt {
u32 cfg_minor_version;
u32 endian;
};
two u32 fields. that's it. that's the struct. iconic minimalism π
π¦ Members π¦
π cfg_minor_version
the minor version used for tracking USB audio device configuration β¨ this is the field that keeps the receipts. supported values:
AFE_API_MINOR_VERSION_USB_AUDIO_CONFIG
one supported value, and it's that one. don't improvise π
π endian
the endianness of this interface π that's the whole description. byte order matters, and this field is where it gets written down.
π SEE ALSO π
go look at these too, i'm obsessed with how many of them there are π (all under the kernel file ./sound/soc/qcom/qdsp6/q6afe.c):
- struct
afe_param_id_usb_audio_dev_params(9) - struct
afe_param_id_usb_audio_svc_interval(9) q6afe_get_port_id(9)q6afe_port_stop(9)q6afe_slim_port_prepare(9)q6afe_tdm_port_prepare(9)afe_port_send_usb_dev_param(9)q6afe_usb_port_prepare(9)q6afe_hdmi_port_prepare(9)q6afe_i2s_port_prepare(9)q6afe_cdc_dma_port_prepare(9)q6afe_port_start(9)q6afe_port_get_from_id(9)q6afe_port_put(9)
lowkey a serve that the source and version live down at the bottom of the page the whole time π§
that's the page bestie, you ate π this one came from ./sound/soc/qcom/qdsp6, dated October 2026, and it's filed under struct afe_p...dev_lpcm_fmt(9) in the Kernel API Manual β periodt β¨ππ¦
π¦ 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