snd_pcm_hw_c...raint_minmax(9)
π snd_pcm_hw_c...raint_minmax(9) π
okay bestie, welcome to the Kernel API Manual page for snd_pcm_hw_c...raint_minmax(9) β the title is giving mysterious ellipsis energy, but the NAME section below has the full function name. We're keeping every detail, no cap. π
πΈ NAME πΈ
snd_pcm_hw_constraint_minmax β apply a min/max range constraint to an interval.
β¨ SYNOPSIS β¨
Here's the signature, copied exactly because we do not mess with code:
int snd_pcm_hw_constraint_minmax (struct snd_pcm_runtime *runtime ,
snd_pcm_hw_param_t var , unsigned int min , unsigned int max );
π«Ά ARGUMENTS π«Ά
runtimeβ PCM runtime instancevarβ hw_params variable to apply the rangeminβ the minimal valuemaxβ the maximal value
π DESCRIPTION π
Apply the min/max range constraint to an interval parameter. That's the whole vibe. π₯
β RETURN β
Positive if the value is changed, zero if it's not changed, or a negative error code. So: changed = positive, not changed = zero, error = negative. No cap. π
π¦ SEE ALSO π¦
Kernel file: ./sound/core/pcm_lib.c
snd_pcm_set_ops(9)snd_pcm_set_sync_per_card(9)snd_interval_refine(9)snd_interval_div(9)snd_interval_muldivk(9)snd_interval_mulkdiv(9)snd_interval_ratnum(9)snd_interval_ratden(9)snd_interval_list(9)snd_interval_ranges(9)snd_pcm_hw_rule_add(9)snd_pcm_hw_constraint_mask(9)snd_pcm_hw_constraint_mask64(9)snd_pcm_hw_constraint_integer(9)snd_pcm_hw_constraint_list(9)snd_pcm_hw_constraint_ranges(9)snd_pcm_hw_constraint_ratnums(9)snd_pcm_hw_constraint_ratdens(9)snd_pcm_hw_constraint_msbits(9)snd_pcm_hw_constraint_step(9)snd_pcm_hw_constraint_pow2(9)snd_pcm_hw_rule_noresample(9)snd_pcm_hw_param_value(9)snd_pcm_hw_param_first(9)snd_pcm_hw_param_last(9)snd_pcm_hw_params_bits(9)snd_pcm_lib_ioctl(9)snd_pcm_period_elapsed_under_stream_lock(9)snd_pcm_period_elapsed(9)snd_pcm_add_chmap_ctls(9)
mwah π β this page's source/version lives at ./sound/core, dated October 2026, and the footer title is snd_pcm_hw_c...raint_minmax(9). bye bestie, go be iconic with your intervals! π«Ά
π¦ 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