STRUCT Q6AFE_USB_CFG(9)
π 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_8KAFE_PORT_SAMPLE_RATE_11025AFE_PORT_SAMPLE_RATE_12KAFE_PORT_SAMPLE_RATE_16KAFE_PORT_SAMPLE_RATE_22050AFE_PORT_SAMPLE_RATE_24KAFE_PORT_SAMPLE_RATE_32KAFE_PORT_SAMPLE_RATE_44P1KAFE_PORT_SAMPLE_RATE_48KAFE_PORT_SAMPLE_RATE_96KAFE_PORT_SAMPLE_RATE_192K
bit_widthβ how thicc each sample is, bit-wise π Supported values:16,24num_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
- 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