diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-01-03 20:46:54 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2019-01-04 23:52:42 +0100 |
commit | d24edc605b9b52d3610efbb9cf691c437ea00746 (patch) | |
tree | bd8e6119e4611c6ff83bd316816e0b9534d84deb /firmware/export/config/xduoox3.h | |
parent | 100f4338deea5239423a0b8974784939d520385c (diff) | |
download | rockbox-d24edc605b9b52d3610efbb9cf691c437ea00746.tar.gz rockbox-d24edc605b9b52d3610efbb9cf691c437ea00746.zip |
Add HAVE_LINEOUT_DETECTION and associated logic
This allows targets to automatically switch audio settings when the
line out is plugged/unplugged.
Only hooked up on the xDuoo X3, but there are other potential users.
Change-Id: Ic46a329bc955cca2e2ad0335ca16295eab24ad59
Diffstat (limited to 'firmware/export/config/xduoox3.h')
-rw-r--r-- | firmware/export/config/xduoox3.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h index d4d6f2ee2f..b2c8930531 100644 --- a/firmware/export/config/xduoox3.h +++ b/firmware/export/config/xduoox3.h | |||
@@ -73,6 +73,9 @@ | |||
73 | /* Define this if you can detect headphones */ | 73 | /* Define this if you can detect headphones */ |
74 | #define HAVE_HEADPHONE_DETECTION | 74 | #define HAVE_HEADPHONE_DETECTION |
75 | 75 | ||
76 | /* Define this if you can detect lineout */ | ||
77 | #define HAVE_LINEOUT_DETECTION | ||
78 | |||
76 | #define CONFIG_KEYPAD XDUOO_X3_PAD | 79 | #define CONFIG_KEYPAD XDUOO_X3_PAD |
77 | 80 | ||
78 | /* Define this if a programmable hotkey is mapped */ | 81 | /* Define this if a programmable hotkey is mapped */ |