STRUCT SND_COMPR_TASK_STATUS(9)
okay bestie, weβre in the Kernel API Manual, section 9, and todayβs main character is struct snd_compr_task_status(9) β the task status struct. itβs giving kernel-internals chic π
π NAME π
struct snd_compr_task_status - task status. thatβs the whole name, no cap. periodt. π
β¨ SYNOPSIS β¨
hereβs the exact struct, bestie β just read her shape:
struct snd_compr_task_status {
__u64 seqno;
__u64 input_size;
__u64 output_size;
__u32 output_flags;
__u8 state;
__u8 reserved[15];
};
π Members π
okay so every field is lowkey important, and hereβs the tea:
seqnoβ the sequence number, aka the task identifier. iykyk πinput_sizeβ filled data in bytes, and it comes from user space. πoutput_sizeβ filled data in bytes, and this one comes from the driver. π¦output_flagsβ reserved for future, all zeros, straight from the driver. do not come for her yet β¨stateβ the actual task state, using theSND_COMPRESS_TASK_STATE_*constants. πreservedβ reserved for future extension. sheβs just holding space π«Ά
π SEE ALSO π
go off, bestie β here are the kernel friends and references:
- Kernel file:
./include/uapi/sound/compress_offload.h 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_metadata(9)struct snd_compr_task(9)enum snd_compr_state(9)
okay thatβs the whole vibe check π this pageβs source/version is ./include/uapi/sound, dated October 2026, and the footerβs lil title bit is struct snd_c..._task_status(9) β mwah, bye bestie! π«Ά
π¦ 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