STRUCT SND_ENC_FLAC(9)
π NAME π
Okay so bestie, welcome to the struct snd_enc_flac(9) page in the Kernel API Manual β and no cap, this one is all about FLAC encoder parameters β¨. The name is literally struct snd_enc_flac, and its whole main-character job is holding FLAC encoder parameter info. Slay.
β¨ SYNOPSIS β¨
struct snd_enc_flac {
__u32 num;
__u32 gain;
};
π«Ά Members π«Ά
numβ this is the serial number, and itβs valid only for OGG formats. It needs to be set by the application. iykyk πgainβ this one adds replay gain tags. cute, useful, done π
πΈ DESCRIPTION πΈ
These options were extracted from the FLAC online documentation at http://flac.sourceforge.net/documentation_tools_flac.html πβ¨
To make the API simpler, it is assumed that the user will select quality profiles. Additional options that affect encoding quality and speed can be added at a later stage if needed. lowkey sensible, ngl π¦
By default the Subset format is used by encoders. periodt π
TAGS such as pictures, etc, cannot be handled by an offloaded encoder and are not supported in this API. Not me being dramatic, but this is a real limitation β those TAGS are straight-up not supported here π
π₯ SEE ALSO π₯
- Kernel file
./include/uapi/sound/compress_params.hβ plusstruct snd_enc_vorbis(9),struct snd_enc_real(9), andstruct snd_dec_opus(9)πβ¨
π«Ά bye bestie β this little page came from source/version ./include/uapi/sound, dated October 2026. π
π¦ 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