ENUM ADAU1761_OUTPUT_MODE(9)
π enum adau1761_output_mode(9)
okay bestie, so this little cutie lives in the Kernel API Manual and honestly? it's giving "choose your output destiny." It's enum adau1761_output_mode, and its whole job is output mode configuration β like, which flavor of audio out are we doing today? β¨
β¨ SYNOPSIS β¨
enum adau1761_output_mode {
ADAU1761_OUTPUT_MODE_HEADPHONE ,
ADAU1761_OUTPUT_MODE_HEADPHONE_CAPLESS ,
ADAU1761_OUTPUT_MODE_LINE
};
π CONSTANTS π
okay so these are the three moods this enum can be in, and each one is a whole vibe:
ADAU1761_OUTPUT_MODE_HEADPHONEβ headphone output. classic. iconic. plugged-in behavior, no cap. π§ADAU1761_OUTPUT_MODE_HEADPHONE_CAPLESSβ capless headphone output. headphone mode but it said "not me needing a cap" and honestly? slay. πADAU1761_OUTPUT_MODE_LINEβ line output. the chill, unbothered one of the group. π¦
no default values, no extra flags hidden in here β what you see is literally the whole roster, fr fr. π«Ά
π SEE ALSO π
if you're going down the rabbit hole (and you ARE, bestie, don't even pretend), the kernel file you want is:
./include/linux/platform_data/adau17x1.h
and it's an enum, obviously. β¨
like, bestie, it is literally obsessed with these other pages too, so go read them:
enum adau17x1_micbias_voltage(9)enum adau1761_digmic_jackdet_pin_mode(9)struct adau1761_platform_data(9)struct adau1781_platform_data(9)
mwah π this page came from ./include/linux/platform_data, dated October 2026, straight out of the Kernel API Manual β go off and configure those outputs, main character. πππ₯
π¦ 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