summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-01 16:08:20 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-01 16:08:20 -0400
commita96eb1a7f7aff5aea41c14b9edcec34564ab27b6 (patch)
tree959b4bccfa17ac292cb3849cf488f5b69a519fb2 /firmware
parentb030bf5885dc5e018dd38eacbb294f1321f2b400 (diff)
downloadrockbox-a96eb1a7f7aff5aea41c14b9edcec34564ab27b6.tar.gz
rockbox-a96eb1a7f7aff5aea41c14b9edcec34564ab27b6.tar.bz2
rockbox-a96eb1a7f7aff5aea41c14b9edcec34564ab27b6.zip
Fix warnings and errors introduced in b030bf5
Change-Id: I23966b6a79c0d2cbab2e01c649c1b991f460d8ad
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/audio/sdl.c7
-rw-r--r--firmware/target/hosted/xduoo/button-xduoo.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/firmware/drivers/audio/sdl.c b/firmware/drivers/audio/sdl.c
index fb49a291d1..148dbf00e7 100644
--- a/firmware/drivers/audio/sdl.c
+++ b/firmware/drivers/audio/sdl.c
@@ -66,6 +66,13 @@ void audiohw_set_volume(int vol_l, int vol_r)
}
#endif /* AUDIOHW_HAVE_MONO_VOLUME */
+#ifdef AUDIOHW_HAVE_LINEOUT
+void audiohw_set_lineout_volume(int vol_l, int vol_r)
+{
+ (void)vol_l; (void)vol_r;
+}
+#endif
+
#if defined(AUDIOHW_HAVE_PRESCALER)
void audiohw_set_prescaler(int value)
{
diff --git a/firmware/target/hosted/xduoo/button-xduoo.c b/firmware/target/hosted/xduoo/button-xduoo.c
index 03bb7bbfc9..605cd18736 100644
--- a/firmware/target/hosted/xduoo/button-xduoo.c
+++ b/firmware/target/hosted/xduoo/button-xduoo.c
@@ -36,6 +36,7 @@
#include "kernel.h"
#include "backlight.h"
#include "backlight-target.h"
+#include "xduoolinux_codec.h"
static bool soft_hold = false;
#ifndef BOOTLOADER