virtsnd_pcm_build_hw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ virtsnd_pcm_build_hw(9) ✨

okay bestie, welcome to the Kernel API Manual β€” this page is all about virtsnd_pcm_build_hw, and its whole thing is literally β€œParse substream config and build HW descriptor.” πŸ’…

🌸 NAME 🌸

virtsnd_pcm_build_hw β€” parse substream config and build HW descriptor.

πŸ¦‹ SYNOPSIS πŸ¦‹

int virtsnd_pcm_build_hw (struct virtio_pcm_substream *vss , struct
       virtio_snd_pcm_info *info );

πŸ’– ARGUMENTS πŸ’–

  • vss β€” VirtIO substream. The substream in question, bestie. πŸŽ€
  • info β€” VirtIO substream information entry. The info entry doing its little info-entry thing. ✨

🌈 CONTEXT 🌈

Any context. No cap β€” it is not picky about where you call it. πŸ¦‹

⭐ RETURN ⭐

0 on success, and -EINVAL if configuration is invalid. That is the whole vibe check. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./sound/virtio/virtio_pcm.c β€” plus these function besties:


mwah πŸ’‹ β€” source ./sound/virtio, dated October 2026, page virtsnd_pcm_build_hw(9). 🫢

πŸ“¦ where this page comes from