snd_hdac_apl...stream_setup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

snd_hdac_apl_host_stream_setup β€” bestie, this is the one that sets up a HOST stream following the exact procedure that's recommended for ApolloLake devices πŸ’… (this page lives in the Kernel API Manual, iykyk)


πŸŽ€ SYNOPSIS πŸŽ€

int snd_hdac_apl_host_stream_setup(struct hdac_stream *hstream, bool code_loading);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hstream β€” the HDAudio stream you want to set up. Like, the actual stream object, hand it over 🫢
  • code_loading β€” a bool that tells us whether this stream is for PCM or for code-loading. That's literally the whole question it's asking, no cap.

🌸 RETURN 🌸

Returns zero on success, or a negative error code if things went sideways 😭 (standard Unix deal, you already knew that).


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./sound/hda/core/ext/stream.c β€” go read the source, it's giving main character energy fr fr.

And the whole friend group:


Ok that's the whole page, you ate that πŸ’…βœ¨ Signing off from ./sound/hda/core/ext, dated October 2026 β€” see you in the next man page bestie πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from