hdmi_audio_infoframe_unpack(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ hdmi_audio_infoframe_unpack(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” yes, the actual manual, and yes, this page is about one single function that turns a raw blob of bytes into a nice structured HDMI Audio infoframe. she's iconic, she's specific, let's go πŸ’…


🌸 NAME 🌸

hdmi_audio_infoframe_unpack β€” unpack binary buffer to a HDMI AUDIO infoframe

like, that's literally her whole job. unpacking. binary buffer ➑️ structured frame. no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int hdmi_audio_infoframe_unpack (struct hdmi_audio_infoframe *frame ,
const void *buffer , size_t size );

ok so she takes three things and gives you back an int. that's the whole vibe check ✨


πŸ’œ ARGUMENTS πŸ’œ

  • frame β€” the HDMI Audio infoframe πŸ’– this is the structured thing you're filling up. she's the destination, the main character of this operation.
  • buffer β€” source buffer 🌈 the raw binary bytes you're reading from. the messy little pile of data going in.
  • size β€” size of buffer 🌸 yes bestie, you have to tell her how big it is, she's not gonna guess.

πŸ”₯ DESCRIPTION πŸ”₯

so what actually happens πŸ‘€ β€” she unpacks the information contained in the binary buffer into a structured frame of the HDMI Audio information frame. it's giving glow-up: chaotic bytes in, well-behaved struct out πŸ’…

and she's thorough, okay? she also verifies the checksum, as required by section 5.3.5 of the HDMI 1.4 specification. checksum verification is mandatory, bestie, it's literally in the spec πŸ“œβœ¨ so no skipping.

Returns 0 on success or a negative error code on failure. 🫢 so like β€” 0 is the slay outcome, negative = something went wrong and she's telling you about it. not mean, just honest πŸ’€


🧚 SEE ALSO 🧚

the whole friend group fr fr β€” she does not exist in a vacuum, and here's everybody:

fr fr go read those too, she's not doing this alone and neither should you πŸ’–

aaaand that's the page, bestie 🫢 this gem lives over in ./drivers/video and it's dated October 2026 β€” so yeah, she's current, she's fresh, she's the moment. go unpack something iconic πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from