STRUCT SND_SOC_ACPI_CODECS(9)
π struct snd_soc_acpi_codecs(9)
okay so you're in the Kernel API Manual, section 9, and the star of the show is struct snd_soc_acpi_codecs π
β¨ NAME β¨
struct snd_soc_acpi_codecs β bestie, this is the struct that holds the secondary codec info, y'know, the extras that aren't the one you already matched π«Ά. That data gets handed off to the quirk function so it can match up against the devices that ACPI actually detected. it's giving "supporting cast, but make it essential" π
πΈ SYNOPSIS πΈ
struct snd_soc_acpi_codecs {
int num_codecs;
u8 codecs[SND_SOC_ACPI_MAX_CODECS][ACPI_ID_LEN];
};
look at her. so compact. so iconic. literally the whole vibe in two fields π
π¦ Members π¦
num_codecsβ the number of secondary codecs chillin' in this platform. like, how many plus-ones are we bringing π₯codecsβ this is the one holding the codec IDs, no cap. it's a 2D array:SND_SOC_ACPI_MAX_CODECSrows ofACPI_ID_LENβ so it's a whole lil roster of IDs, and every single one is exactlyACPI_ID_LENwide π
π SEE ALSO π
- Kernel file
./include/sound/soc-acpi.h struct snd_soc_acpi_mach_params(9)struct snd_soc_acpi_endpoint(9)struct snd_soc_acpi_adr_device(9)struct snd_soc_acpi_link_adr(9)struct snd_soc_acpi_mach(9)
the whole friend group fr fr β go read them all, you'll be obsessed π§
ngl bestie, if you're matching ACPI-detected devices against secondary codecs, this struct is your main character. go off π
sign-off szn: this little beauty lives in ./include/sound, and this edition dropped October 2026 β catch you in struct snd_soc_acpi_codecs(9) again soon, mwah πβ¨π
π¦ 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