snd_soc_usb...orted_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

snd_soc_usb_find_supported_format β€” bestie, this one checks if an audio format is supported πŸ’–

(also hi, you're reading the Kernel API Manual, no cap πŸ“–βœ¨)


🌸 SYNOPSIS 🌸

int snd_soc_usb_find_supported_format (int card_idx , struct
snd_pcm_hw_params *params , int direction );

πŸŽ€ ARGUMENTS πŸŽ€

  • card_idx β€” the USB sound chip array index, like its lil seat number in the array πŸͺ‘
  • params β€” the PCM parameters, the whole vibe of the audio setup 🎧
  • direction β€” literally just capture or playback, pick a lane bestie 🎀

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea β˜• β€” this function makes sure that a requested audio profile coming from the ASoC side is actually able to be supported by the USB device. Like, vibe check on the format before anyone gets their hopes up πŸ’…

It returns 0 on success, and negative on error. That's it, that's the whole mood 😭


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./sound/soc/soc-usb.c plus the whole friend group 🫢:


ngl this page lives under ./sound/soc, dated October 2026, and it's filed as snd_soc_usb...orted_format(9) β€” icon behavior only πŸ‘‘βœ¨ mwah, go read the source bestie πŸ’–πŸ¦‹πŸŒΈ
πŸ“¦ where this page comes from