STRUCT SOF_IPC4_PCM_STREAM_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct sof_..._stream_priv(9) πŸ’–

okay so welcome to the Kernel API Manual bestie, we're looking at struct sof_..._stream_priv(9) today and honestly? she's small but she's doing a lot πŸŽ€ this is the IPC4-specific private data situation and you're gonna get it in like two minutes, fr fr.


✨ NAME ✨

struct sof_ipc4_pcm_stream_priv β€” the IPC4 specific private data 🫢 that's it, that's the whole vibe.


🌸 SYNOPSIS 🌸

struct sof_ipc4_pcm_stream_priv {
    struct sof_ipc4_timestamp_info *time_info;
    bool chain_dma_allocated;
 };

like… two members. two. and yet she's iconic πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • time_info β€” a pointer to the time info struct if it is supported, otherwise NULL. so if timestamps aren't a thing here, it's just NULL and we move on, no drama πŸ’…
  • chain_dma_allocated β€” a bool that indicates the ChainDMA allocation state ✨ like it literally tells you where the ChainDMA allocation is at. that's the whole job. she ate.

🌈 SEE ALSO 🌈

  • Kernel file ./sound/soc/sof/ipc4-pcm.c β€” go read the actual source, bestie, it's right there πŸ‘€
  • struct sof_ipc4_timestamp_info(9) β€” the struct that time_info points at, iykyk πŸ”₯

ngl this one's short but don't sleep on it β€” if time_info can be NULL you gotta check before you dereference, no cap 😭 that's not me being extra, that's just how pointers work πŸ’€

and that's the page!! mwah πŸ’– this was the Kernel API Manual entry for struct sof_..._stream_priv(9), brought to you from ./sound/soc/sof, dated October 2026 ⭐ go forth and slay your IPC4 debugging, bestie πŸ§šβ€β™€οΈπŸŒΈ

πŸ“¦ where this page comes from