virtsnd_pcm_hw_params(9)
π virtsnd_pcm_hw_params(9) β Kernel API Manual π
πΈ NAME πΈ
virtsnd_pcm_hw_params β set the parameters of the PCM substream. π Thatβs the whole vibe: PCM substream parameters, and itβs lowkey iconic.
π¦ SYNOPSIS π¦
int virtsnd_pcm_hw_params (struct snd_pcm_substream *substream , struct
snd_pcm_hw_params *hw_params );
π ARGUMENTS π
substreamβ Kernel ALSA substream. Itβs the kernel ALSA substream youβre handing over, bestie. β¨hw_paramsβ Hardware parameters. This is the hardware-parameters bundle. π«Ά
π CONTEXT π
Process context. Yes bestie, thatβs the context β process context, periodt. π
π₯ RETURN π₯
0 on success, -errno on failure β thatβs the return situation, no cap. πβ
π SEE ALSO π
Kernel file: ./sound/virtio/virtio_pcm_ops.c β thatβs the file, iykyk. The whole squad is:
virtsnd_pcm_open(9)virtsnd_pcm_close(9)virtsnd_pcm_dev_set_params(9)virtsnd_pcm_hw_free(9)virtsnd_pcm_prepare(9)virtsnd_pcm_trigger(9)virtsnd_pcm_sync_stop(9)virtsnd_pcm_pb_pointer(9)virtsnd_pcm_cp_pointer(9)
thatβs the tea from source/version ./sound/virtio, dated October 2026, page virtsnd_pcm_hw_params(9) β bye bestie, go set those PCM substream params! πβ¨π
π¦ 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