STRUCT SND_COMPR_CODEC_CAPS(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms