snd_soc_card_jack_new_pins(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ snd_soc_card_jack_new_pins(9) ✨

okay so bestie, you're reading the Kernel API Manual page for snd_soc_card_jack_new_pins(9) and we're about to make jack-with-pins make sense. no cap, this is the origin story. πŸ’–

🌸 NAME 🌸

snd_soc_card_jack_new_pins β€” create a new jack with pins. that's the whole vibe. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

int snd_soc_card_jack_new_pins (struct snd_soc_card *card , const char
*id , int type , struct snd_soc_jack *jack , struct snd_soc_jack_pin
*pins , unsigned int num_pins );

πŸ’… ARGUMENTS πŸ’…

  • card β€” ASoC card. your main character energy, bestie. πŸ‘‘
  • id β€” an identifying string for this jack. give it a cute name, it's literally its whole identity. πŸŽ€
  • type β€” a bitmask of enum snd_jack_type values that can be detected by this jack. think of it as the jack's detection radar β€” which plugs it can spot. πŸ”₯
  • jack β€” structure to use for the jack. home base, the place where the jack lives. 🏠
  • pins β€” Array of jack pins to be added to the jack or NULL. if you're not about that pin life, see the note below. πŸ™ˆ
  • num_pins β€” Number of elements in the pins array. counting is mandatory, no vibes-based math. πŸ’€

🌈 DESCRIPTION 🌈

this function creates a new jack object with pins β€” it's giving "jack but make it extra". ✨

if you're not adding pins, bestie, use snd_soc_card_jack_new instead. don't make it weird. πŸ™ˆ

return vibe check: 0 means success, you ate and left no crumbs. a negative error code means failure β€” something went off, no cap. on success, jack will be initialised, so it's ready for its moment. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


that's the whole page, bestie. written by the ./sound/soc girlies, October 2026 era, snd_soc_card_jack_new_pins(9) forever. 🫢

πŸ“¦ where this page comes from