snd_soc_dapm..._dai_widgets(9)
π snd_soc_dapm_new_dai_widgets(9) β the Kernel API Manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual page for snd_soc_dapm..._dai_widgets(9) π this one's short and sweet, no cap β it's giving "small function, big responsibility" energy.
β¨ NAME β¨
snd_soc_dapm_new_dai_widgets β literally just Create new DAPM widgets π that's the whole vibe.
πΈ SYNOPSIS πΈ
int snd_soc_dapm_new_dai_widgets (struct snd_soc_dapm_context *dapm ,
struct snd_soc_dai *dai );
it returns an int, that's the main character. π
π¦ ARGUMENTS π¦
dapmβ the DAPM context, i.e. the whole little world these widgets get born into πΌdaiβ the parent DAI. yeah. it's the parent. the widget's gonna call it "mom" fr fr π«Ά
β DESCRIPTION β
Returns 0 on success, error code otherwise. that's it. that's the whole description. honestly iconic of it to just say the thing and dip π
so like β if you get 0, slay, everything worked β¨ if you get anything else, that's your error code and you should probably go look at it.
ngl there is genuinely nothing else on this page, no hidden lore, don't go looking for more π
π₯ SEE ALSO π₯
the Kernel file ./sound/soc/soc-dapm.c is where the magic lives, and here's the whole friend group π« (all (9) sections, all snd_soc_dapm_-prefixed, obviously):
snd_soc_dapm_kcontrol_to_widget(9)snd_soc_dapm_kcontrol_to_dapm(9)snd_soc_dapm_kcontrol_to_component(9)snd_soc_dapm_force_bias_level(9)snd_soc_dapm_init_bias_level(9)snd_soc_dapm_set_bias_level(9)snd_soc_dapm_get_bias_level(9)snd_soc_dapm_dai_get_connected_widgets(9)snd_soc_dapm_free_widget(9)snd_soc_dapm_sync_unlocked(9)snd_soc_dapm_sync(9)snd_soc_dapm_add_routes(9)snd_soc_dapm_del_routes(9)snd_soc_dapm_new_widgets(9)snd_soc_dapm_get_volsw(9)snd_soc_dapm_put_volsw(9)snd_soc_dapm_get_enum_double(9)snd_soc_dapm_put_enum_double(9)snd_soc_dapm_info_pin_switch(9)snd_soc_dapm_get_pin_switch(9)snd_soc_dapm_get_component_pin_switch(9)snd_soc_dapm_put_pin_switch(9)snd_soc_dapm_put_component_pin_switch(9)snd_soc_dapm_new_control(9)snd_soc_dapm_new_controls(9)snd_soc_dapm_stream_event(9)snd_soc_dapm_enable_pin_unlocked(9)snd_soc_dapm_enable_pin(9)snd_soc_dapm_force_enable_pin_unlocked(9)snd_soc_dapm_force_enable_pin(9)snd_soc_dapm_disable_pin_unlocked(9)snd_soc_dapm_disable_pin(9)snd_soc_dapm_get_pin_status(9)snd_soc_dapm_ignore_suspend(9)snd_soc_dapm_pin_has_prefix(9)snd_soc_dapm_free(9)
like... that's a lot of friends. they all live under ./sound/soc together, it's a whole situation π
that's the page!! short king energy but we love her π
source/version: ./sound/soc Β· dated October 2026 Β· snd_soc_dapm..._dai_widgets(9) β mwah, go read soc-dapm.c bestie, ily, bye ππ
π¦ 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