STRUCT Q6AFE_USB_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct q6afe_usb_cfg(9) β€” the USB audio config glow-up πŸ’…

okay so bestie, welcome to section 9 of the Kernel API Manual πŸŽ€ β€” this is the page for struct q6afe_usb_cfg, and honestly? she's a little legend. no cap.


✨ NAME ✨

struct q6afe_usb_cfg β€” that's it, that's the name, she didn't come with a tagline πŸ™ˆ (the original page leaves this blank, so we're leaving it blank too, periodt).


🌈 SYNOPSIS 🌈

here's the whole struct, laid out exactly how it lives, no editing, no touching, just vibes πŸ¦‹:

struct q6afe_usb_cfg {
    u32 cfg_minor_version;
    u32 sample_rate;
    u16 bit_width;
    u16 num_channels;
};

four fields, zero drama. let's meet them πŸ’–


πŸ‘‘ Members πŸ‘‘

  • cfg_minor_version β€” the little version number that keeps track of your USB audio device configuration. like a receipt for your setup, lowkey iconic 🧾 Supported values:
    • AFE_API_MINOR_VERSION_USB_AUDIO_CONFIG
  • sample_rate β€” how fast the port is sampling, aka the tempo of the whole operation 🎢 Supported values:
    • AFE_PORT_SAMPLE_RATE_8K
    • AFE_PORT_SAMPLE_RATE_11025
    • AFE_PORT_SAMPLE_RATE_12K
    • AFE_PORT_SAMPLE_RATE_16K
    • AFE_PORT_SAMPLE_RATE_22050
    • AFE_PORT_SAMPLE_RATE_24K
    • AFE_PORT_SAMPLE_RATE_32K
    • AFE_PORT_SAMPLE_RATE_44P1K
    • AFE_PORT_SAMPLE_RATE_48K
    • AFE_PORT_SAMPLE_RATE_96K
    • AFE_PORT_SAMPLE_RATE_192K
  • bit_width β€” how thicc each sample is, bit-wise πŸ“ Supported values: 16, 24
  • num_channels β€” how many channels you're running, bestie. mono or stereo moment πŸ’… Supported values: 1, 2

πŸ¦‹ SEE ALSO πŸ¦‹

  • the kernel file ./sound/soc/qcom/qdsp6/q6afe.h β€” go read her, she's where all the real tea lives 🫢
fr fr, that's the only reference on the whole page, so don't come for me about missing links πŸ’€

okay that's the whole page, mwah πŸ˜­πŸ’œ β€” this was brought to you by the fine folks at ./sound/soc/qcom/qdsp6, dated October 2026, and this gorgeous girl is struct q6afe_usb_cfg(9). slay, bye ✨🌸

πŸ“¦ where this page comes from