STRUCT SND_SOF_PLATFORM_STREAM_PARAMS(9)
πΈ NAME πΈ
struct snd_sof_platform_stream_params β the platform-dependent stream params, aka the little struct that holds all the "it depends on your hardware, bestie" bits π
It's from the Kernel API Manual, and honestly? She's niche, she's specific, she's giving "you only find me if you're already deep in the audio stack" energy π
β¨ SYNOPSIS β¨
struct snd_sof_platform_stream_params {
u32 phy_addr;
u16 stream_tag;
bool use_phy_address;
bool no_ipc_position;
bool cont_update_posn;
};
Five fields, no cap. Two of them are bools doing quiet heavy lifting, one u32, one u16, and a fifth bool for the position-update girlies π¦
π Members π
Okay so this is the part where we meet the whole cast, one by one π
phy_addrβ the platform-dependent address you want to use. Important detail though: it only actually gets used ifuse_phy_addristrue. So it's conditional main character energy, fr fr πstream_tagβ the stream tag to use. That's it, that's the whole vibe. It's au16and it tags your stream π·οΈuse_phy_addressβ aboolmember sitting right there in the struct. The manpage doesn't give it its own little description paragraph, so I'm not gonna invent lore for it π but yes, she is listed, she is real, she is part of the struct πno_ipc_positionβ set this and you're disabling the position update IPC from the firmware. Big "please stop telling me where you are" energy πcont_update_posnβ continuous position update. Yes the name is abbreviated, yes we still respect her π
Bestie heads up:use_phy_addressanduse_phy_addrare not the same spelling in the original text β the member isuse_phy_addressand thephy_addrdescription refers touse_phy_addr. I'm keeping both exactly as written because we do NOT "fix" things around here π«Ά
π₯ SEE ALSO π₯
Go poke around these, they're all in the kernel file ./sound/soc/sof/sof-priv.h and they're all little icons in their own right β
struct sof_firmware(9)struct sof_ipc_fw_tracing_ops(9)struct sof_ipc_pm_ops(9)struct sof_ipc_fw_loader_ops(9)struct sof_ipc_ops(9)
And that's the whole page, bestie π She lives in ./sound/soc/sof, she's dated October 2026, and she's part of the Kernel API Manual β so go forth and slay your platform-dependent stream params, and remember: only use phy_addr when the flag says so πβ¨π
π¦ 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