virtsnd_pcm_build_hw(9)
β¨ 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:
virtsnd_pcm_find(9)virtsnd_pcm_find_or_create(9)virtsnd_pcm_validate(9)virtsnd_pcm_period_elapsed(9)virtsnd_pcm_parse_cfg(9)virtsnd_pcm_build_devs(9)virtsnd_pcm_event(9)
mwah π β source ./sound/virtio, dated October 2026, page virtsnd_pcm_build_hw(9). π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms