snd_soc_dai_set_tristate(9)
β¨ snd_soc_dai_set_tristate(9) β¨
okay so bestie, welcome to the kernel API manual for snd_soc_dai_set_tristate π this one lives in the ALSA SoC world and it's honestly a lil' shortcut function, so let's get into it π
πΈ NAME πΈ
snd_soc_dai_set_tristate β configure DAI system or master clock β¨
π¦ SYNOPSIS π¦
int snd_soc_dai_set_tristate (struct snd_soc_dai *dai , int tristate );
π ARGUMENTS π
daiβ the DAI, periodt πtristateβ tristate enable π
π DESCRIPTION π
So what does it actually do? It tristates the DAI so that others can use it π«Ά that's the whole vibe. It's giving "handing over the aux cord" energy, no cap π
π SEE ALSO π
It's all chillin' in the kernel file ./sound/soc/soc-dai.c π§ and here's the whole friend group of related calls, bestie:
snd_soc_dai_set_sysclk(9)snd_soc_dai_set_clkdiv(9)snd_soc_dai_set_pll(9)snd_soc_dai_set_bclk_ratio(9)snd_soc_dai_set_bclk_clk(9)snd_soc_dai_set_fmt(9)snd_soc_xlate_tdm_slot_mask(9)snd_soc_dai_set_tdm_slot(9)snd_soc_dai_set_tdm_idle(9)snd_soc_dai_set_channel_map(9)snd_soc_dai_get_channel_map(9)snd_soc_dai_digital_mute(9)
that's the whole page, icon π it comes from ./sound/soc, dated October 2026, and it's literally the snd_soc_dai_set_tristate(9) manual β slay, go forth and tristate responsibly ππ
π¦ 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