snd_pcm_stream_linked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🎧 snd_pcm_stream_linked(9) β€” the Kernel API Manual, bestie edition 🎧

okay so picture this: it's a Kernel API Manual page, right, and today's main character is snd_pcm_stream_linked. yes we're in kernel land. yes there will be locking. no you cannot skip it. πŸ’…


✨ NAME ✨

snd_pcm_stream_linked β€” check whether the substream is linked with others

like, is this substream in a situationship with other substreams or is it single and ready to mingle? this function tells you. πŸ”—


🌸 SYNOPSIS 🌸

int snd_pcm_stream_linked (struct snd_pcm_substream *substream );

that's it. that's the whole vibe. one arg, one return, no drama. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • substream β€” the substream to check πŸ‘€ that's the one you're asking about. the subject of the vibe check.

πŸ’– RETURN πŸ’–

returns true if the given substream is being linked with others πŸ’«

(and by "returns true" we mean the int gives you a truthy answer β€” the page says true if it's linked, so if it comes back true: linked. periodt.)


πŸ¦‹ SEE ALSO πŸ¦‹

so many friends, so much lore. the kernel file lives at ./include/sound/pcm.h and honestly the whole group chat is here:

no cap, that's the entire crew. tap in. 🫢


lowkey reminder: if you're poking at substreams, read the locking friends up top first β€” snd_pcm_stream_lock_irqsave and snd_pcm_stream_lock_irqsave_nested are right there for a reason. iykyk. πŸ”’

and that's the page, bestie!! πŸŽ€ source lives in ./include/sound, dated October 2026 β€” signed, sealed, delivered, and yes the footer is serving looks. bye mwah πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from