STRUCT SOF_IPC4_TUPLE(9)
π struct sof_ipc4_tuple(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's short and sweet β it's giving "little struct, big responsibilities" and i'm obsessed π«Ά
πΈ NAME πΈ
struct sof_ipc4_tuple β a generic type/ID + parameter tuple, fr fr π
β¨ SYNOPSIS β¨
struct sof_ipc4_tuple {
uint32_t type;
uint32_t size;
uint32_t value[];
};
likeβ¦ that's it. three members. she's minimal, she's iconic, she's the tuple π
π¦ Members π¦
typeβ the type/ID, aka "what flavour of thing is this" π it's the label on the box, iykyksizeβ the size of thevaluearray, and yes bestie it's measured in bytes (not elements!! don't do that to yourself π)valueβ the actual value for the given type π she's flexible, she's a[]flexible array member, she contains multitudes
ngl the wayvalueis a flexible array member means the bytes just keep going after the struct β sosizeis literally your only clue about how much is actually there. trust her. read the size. π
π₯ SEE ALSO π₯
go read the kernel file ./include/sound/sof/ipc4/header.h first, that's the mothership π
and then the whole friend group:
struct sof_ipc4_msg(9)struct sof_ipc4_process_data_error_event_data(9)struct sof_ipc4_mixer_underrun_event_data(9)union sof_ipc4_resource_event_data(9)struct sof_ipc4_notify_module_data(9)
and that's the whole page, bestie β short king energy π
this lil masterpiece lives in ./include/sound/sof/ipc4, and the version vibes are dated October 2026 β so go forth, use your tuples responsibly, and slay ππ§ββοΈ
π¦ 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