summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-04-05 15:04:44 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-04-05 21:16:32 +0200
commitb0e257ccc69f8ff23c0bdeb9ffcf17fdffd16636 (patch)
treee177b2cd2ae6e11a1c9ed62f17fd190c04e7b4b7
parent87a40552fb9ef7d7f1f62de271864a4a1f372594 (diff)
downloadrockbox-b0e257ccc6.tar.gz
rockbox-b0e257ccc6.tar.bz2
rockbox-b0e257ccc6.zip
simulator: Add a stub for lineout_inserted()
Change-Id: I86e4fd75fa9e1bf69b5c9bb5995f4bc77bbdd5de
-rw-r--r--uisimulator/common/stubs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index b540735904..dc4f636521 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -292,6 +292,13 @@ bool headphones_inserted(void)
}
#endif
+#ifdef HAVE_LINEOUT_DETECTION
+bool lineout_inserted(void)
+{
+ return false;
+}
+#endif
+
#ifdef HAVE_SPDIF_POWER
void spdif_power_enable(bool on)
{