snd_hdac_get_stream(9)
β¨ snd_hdac_get_stream(9) β¨
hiii bestie π welcome to the Kernel API Manual β yes, that's the manual name, and yes, we're reading it together. This page is all about snd_hdac_get_stream, and honestly? it's a little lookup gremlin and I'm obsessed π«Ά
πΈ NAME πΈ
snd_hdac_get_stream β return hdac_stream based on stream_tag and dir (direction, for the uninitiated π
)
Like, you hand it a stream tag plus a direction, and it hands you back the matching stream. Matchmaker energy fr fr π₯
π SYNOPSIS π
struct hdac_stream * snd_hdac_get_stream (struct hdac_bus *bus , int dir
, int stream_tag );
That's the whole signature β returning a struct hdac_stream *, taking a struct hdac_bus *bus, an int dir, and an int stream_tag. Slay β¨
π¦ ARGUMENTS π¦
busβ the HD-audio core bus π (the thing you're poking around in)dirβ the direction for the stream to be found π§ (yes, direction matters, don't come at me)stream_tagβ the stream tag for the stream to be found π·οΈ (your little ID badge for the stream)
π SEE ALSO π
Kernel file ./sound/hda/core/stream.c π β and the whole friend group of sibling functions, no gatekeeping here:
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_stream_setup_bdle(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)
that's the whole page, bestie β no hidden lore, no extra options, nothing to memorise beyond what's right here πβ¨
okay and before I go: this masterpiece lives in ./sound/hda/core and it's dated October 2026, which is literally the future, main character energy only ππ°οΈ
go forth and find your streams, 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