STRUCT SND_COMPR_AVAIL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct snd_compr_avail(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this is the page for struct snd_compr_avail(9), and it's giving tiny struct with main-character ring-buffer energy πŸ’…βœ¨.


πŸŽ€ NAME πŸŽ€

struct snd_compr_avail β€” avail descriptor. yes, that's the descriptor for avail, no cap 🫢

🌸 SYNOPSIS 🌸

the struct is literally this, exactly:

       struct snd_compr_avail {
           __u64 avail;
           struct snd_compr_tstamp tstamp;
        };

πŸ¦‹ Members πŸ¦‹

  • avail β€” Number of bytes available in ring buffer for writing/reading. that's the byte count bestie, for writing/reading in the ring buffer 🫢
  • tstamp β€” timestamp information. time metadata, exactly what it says ⏰

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/uapi/sound/compress_offload.h β€” plus the whole reference friend group:

  • struct snd_compressed_buffer(9)
  • struct snd_compr_params(9)
  • struct snd_compr_tstamp(9)
  • struct snd_compr_tstamp64(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_metadata(9)
  • struct snd_compr_task(9)
  • enum snd_compr_state(9)
  • struct snd_compr_task_status(9)

okay bye bestie 🫢✨ β€” source/version: ./include/uapi/sound, date: October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from