summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
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