snd_hdac_stream_setup_bdle(9)
π snd_hdac_stream_setup_bdle β like, the whole page
okay so bestie, welcome to the snd_hdac_stream_setup_bdle(9) page from the Kernel API Manual πΈ. yes that's the whole title, and yes, it's a lot of letters. stay with me, it's actually kinda iconic once you get past the name π
β¨ NAME β¨
snd_hdac_stream_setup_bdle β set up BDL entries π
β¨ SYNOPSIS β¨
int snd_hdac_stream_setup_bdle (struct hdac_stream *azx_dev , struct
snd_dma_buffer *dmab , struct snd_pcm_runtime *runtime );
β¨ ARGUMENTS β¨
azx_devβ the HD-audio core stream that we're setting up, she's the main character here πdmabβ the DMA buffer that's already been allocated for you, no take-backs πruntimeβ the substream runtime, and this one's optional babes, no pressure π¦
β¨ DESCRIPTION β¨
so basically πββοΈ this function sets up the buffer descriptor table of the given stream β and the way it does it? it looks at the period and buffer sizes of the PCM substream that's been assigned to said stream. that's the whole vibe check, no cap. BDL = buffer descriptor table, and she's getting built to exactly those sizes π₯
β¨ SEE ALSO β¨
the kernel file lives at ./sound/hda/core/stream.c and honestly? it's giving family reunion π«Ά β here's everyone:
snd_hdac_get_stream_stripe_ctl(9)snd_hdac_stream_init(9)snd_hdac_stream_start(9)snd_hdac_stream_clear(9)snd_hdac_stream_stop(9)snd_hdac_stop_streams(9)snd_hdac_stop_streams_and_chip(9)snd_hdac_stream_reset(9)snd_hdac_stream_setup(9)snd_hdac_stream_cleanup(9)snd_hdac_stream_assign(9)snd_hdac_stream_release_locked(9)snd_hdac_stream_release(9)snd_hdac_get_stream(9)snd_hdac_stream_setup_periods(9)snd_hdac_stream_set_params(9)snd_hdac_stream_timecounter_init(9)snd_hdac_stream_sync_trigger(9)snd_hdac_stream_sync(9)snd_hdac_stream_spbcap_enable(9)snd_hdac_stream_set_spib(9)snd_hdac_stream_drsm_enable(9)snd_hdac_stream_set_dpibr(9)snd_hdac_stream_set_lpib(9)snd_hdac_dsp_prepare(9)snd_hdac_dsp_trigger(9)snd_hdac_dsp_cleanup(9)
ngl bestie, if you're setting up BDL entries you should lowkey read all of these too. iykyk π
and that's the page!! π this cutie came out of ./sound/hda/core in October 2026, straight from the Kernel API Manual π slay, go build some descriptors, 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