STRUCT SND_COMPR_METADATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct snd_compr_metadata β€” compressed stream metadata πŸŽ€

okay so bestie, welcome to the struct snd_compr_metadata(9) page from the Kernel API Manual ✨ this one's short and sweet, and honestly it's giving "small but mighty" β€” it's literally the little metadata carrier for compressed audio streams. no cap, she's iconic 🫢


🌸 NAME 🌸

struct snd_compr_metadata β€” compressed stream metadata πŸ’–

like, that's her whole job. carrying metadata for a compressed stream. periodt.


✨ SYNOPSIS ✨

here's the whole thing, character for character, don't touch:

struct snd_compr_metadata {
    __u32 key;
    __u32 value[8];
 };

that's it. that's the struct. two members, one of them's an array of 8, and honestly? she ate πŸ”₯


πŸ¦‹ Members πŸ¦‹

  • key β€” the key id πŸ‘‘ this is the identifier telling you which piece of metadata you're looking at.
  • value β€” the key value πŸ“ it's a __u32 array with 8 slots, so it's holding the actual data that goes along with that key.

ngl, this is a very demure, very mindful little struct. no drama, just vibes πŸ’…


⭐ SEE ALSO ⭐

go touch some related grass, bestie β€” here's the whole crew 🌈

Kernel file ./include/uapi/sound/compress_offload.h β€” fr fr, that's where she lives 🏠

  • struct snd_compressed_buffer(9)
  • struct snd_compr_params(9)
  • struct snd_compr_tstamp(9)
  • struct snd_compr_tstamp64(9)
  • struct snd_compr_avail(9)
  • struct snd_compr_avail64(9)
  • struct snd_compr_caps(9)
  • struct snd_compr_codec_caps(9)
  • enum sndrv_compress_encoder(9)
  • struct snd_compr_task(9)
  • enum snd_compr_state(9)
  • struct snd_compr_task_status(9)

like, the whole friend group showed up πŸ˜­πŸ’œ


lowkey a reminder: these are the cross-references the page gives you β€” go read them if you wanna know how the rest of the compressed-offload fam works 🌸

and that's the page, bestie!! πŸŽ€ sign-off time: this one comes from the kernel source dir ./include/uapi/sound, dated October 2026, and it's the struct snd_compr_metadata(9) page from the Kernel API Manual β€” slay, bye πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from