ENUM ADAU1761_OUTPUT_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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