snd_interval_div(9)
π snd_interval_div(9) β Kernel API Manual π
β¨ NAME β¨
okay so bestie, snd_interval_div is literally the function that refines the interval value with division. Itβs giving tiny math glow-up for intervals, no cap.
π οΈ SYNOPSIS π οΈ
void snd_interval_div (const struct snd_interval *a , const struct
snd_interval *b , struct snd_interval *c );
clock it: itβs void, okay? periodt.
π ARGUMENTS π
aβ dividend. the numerator bestie, the one getting divided.bβ divisor. the one doing the dividing.cβ quotient. the result goes here, main character destination energy.
πΈ DESCRIPTION πΈ
the whole flex is literally this:
c = a / b
and the page says: βReturns non-zero if the value is changed, zero if not changed.β
yes, the SYNOPSIS says void while the DESCRIPTION talks about returns β Iβm just reporting what the page says, donβt come for me ππ
π SEE ALSO π
kernel file ./sound/core/pcm_lib.c is in the group chat, along with these icons:
snd_pcm_set_ops(9)snd_pcm_set_sync_per_card(9)snd_interval_refine(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_minmax(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)
xoxo, your kernel bestie π β source/version: ./sound/core, date: October 2026. periodt. π«Ά
π¦ 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