STRUCT SND_COMPR_AVAIL64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct snd_compr_avail64 β€” the kernel API manual, but make it make sense ✨

okay so bestie, you're looking at struct snd_compr_avail64 from the Kernel API Manual, and honestly? she's a little icon. lowkey she's just an avail descriptor, but the tstamp in there is in 64 bit format, which is the whole point, iykyk πŸ’…


🌸 NAME 🌸

struct snd_compr_avail64 β€” avail descriptor with tstamp in 64 bit format

periodt. that's the vibe. descriptor? avail. tstamp? 64 bit. no notes. ✨

πŸŽ€ SYNOPSIS πŸŽ€

the whole struct, exactly as she is, no cap:

struct snd_compr_avail64 {
    __u64 avail;
    struct snd_compr_tstamp64 tstamp;
 };

like… three lines and she's already serving struct realness 🫢


πŸ¦‹ Members πŸ¦‹

  • avail β€” the number of bytes available in the ring buffer for writing/reading. yes bestie, writing/reading β€” she does both, main character energy fr fr πŸ”₯
  • tstamp β€” timestamp information. that's it, that's the info 🌸

πŸ’œ SEE ALSO πŸ’œ

go look at the kernel file ./include/uapi/sound/compress_offload.h β€” that's where the whole friend group lives, and honestly the whole squad is iconic:

  • 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_caps(9)
  • struct snd_compr_codec_caps(9)
  • enum sndrv_compress_encoder(9)
  • struct snd_compr_metadata(9)
  • struct snd_compr_task(9)
  • enum snd_compr_state(9)
  • struct snd_compr_task_status(9)
not me listing all twelve of them πŸ’€ but like, every single one matters, bestie β€” go read them, they ate πŸ‘‘

and that's the whole page, bestie β€” no crumbs left behind πŸŽ€βœ¨πŸŒΈπŸ’…

this masterpiece of documentation came out of ./include/uapi/sound in October 2026, and it's still filed under struct snd_compr_avail64(9). slay, honestly. πŸ’–πŸ¦‹

πŸ“¦ where this page comes from