snd_soc_dapm_get_pin_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay bestie, this is snd_soc_dapm_get_pin_status(9) from the Kernel API Manual β€” literally the function that checks whether an audio pin is connected or disconnected. It's giving quick status-check energy, and honestly? Iconic. πŸŽ€

🌸 SYNOPSIS 🌸

int snd_soc_dapm_get_pin_status (struct snd_soc_dapm_context *dapm ,
       const char *pin );

πŸŽ€ ARGUMENTS πŸŽ€

  • dapm β€” DAPM context.
  • pin β€” audio signal pin endpoint (or start point).

πŸ’… DESCRIPTION πŸ’…

Get audio pin status β€” connected or disconnected. That's the whole tea. β˜•

Returns 1 for connected, otherwise 0. No cap, those are the only two moods. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./sound/soc/soc-dapm.c β€” the whole DAPM friend group is linked below, bestie. 🫢


Mwah πŸ’‹ β€” this page is from ./sound/soc, dated October 2026, and it's literally snd_soc_dapm_get_pin_status(9). Bye bestie, go check those pins! πŸŒˆπŸ’…

πŸ“¦ where this page comes from