params_width(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… params_width(9) πŸ’…

okay bestie, welcome to params_width(9) from the Kernel API Manual ✨ this one is tiny, iconic, and here to hand you exactly one fact πŸ’–


🌸 NAME 🌸

params_width β€” get the number of bits of the sample format from the hw params πŸ‘‘

✨ SYNOPSIS ✨

int params_width (const struct snd_pcm_hw_params *p );

πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” hw params 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function returns the number of bits per sample that the selected sample format of the hw params has. literally that’s the whole serve, and it ate πŸ’…πŸ”₯

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./include/sound/pcm_params.h, plus params_access(9), params_format(9), params_subformat(9), and params_period_bytes(9) πŸ‘€βœ¨

mwah πŸ’‹ this page comes from ./include/sound, dated October 2026 β€” params_width(9) signing off πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from