summaryrefslogtreecommitdiffstats
path: root/firmware/drivers
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/drivers
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/drivers')
-rw-r--r--firmware/drivers/audio/sdl.c7
1 files changed, 7 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)
{