STRUCT SND_COMPR_CODEC_CAPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay bestie, welcome to the Kernel API Manual β€” this is the entry for struct snd_compr_codec_caps, and it's literally the lil' struct that handles "query capability of codec" energy πŸŽ€

🌸 NAME 🌸

struct snd_compr_codec_caps β€” query capability of codec

✨ SYNOPSIS ✨

       struct snd_compr_codec_caps {
           __u32 codec;
           __u32 num_descriptors;
           struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS];
        };

πŸ’… Members πŸ’…

okay so inside the struct, it's giving three members, no cap:

  • codec β€” codec for which capability is queried. the subject of the vibe check πŸ”₯
  • num_descriptors β€” number of codec descriptors. count 'em, bestie ✨
  • descriptor β€” array of codec capability descriptor. the actual descriptor lineup πŸ¦‹

πŸ” SEE ALSO πŸ”

the kernel file ./include/uapi/sound/compress_offload.h is the source-of-truth bestie here, and these linked structs/enums are the squad:

  • 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)
  • 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)

πŸ’– cute lil' sign-off: source path is ./include/uapi/sound, date is October 2026, and this page is all about struct snd_compr_codec_caps(9) β€” periodt. πŸ’–

πŸ“¦ where this page comes from