summaryrefslogtreecommitdiffstats
path: root/firmware/export/hosted_codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/hosted_codec.h')
-rw-r--r--firmware/export/hosted_codec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/hosted_codec.h b/firmware/export/hosted_codec.h
index 72495709e8..f5e92ed297 100644
--- a/firmware/export/hosted_codec.h
+++ b/firmware/export/hosted_codec.h
@@ -21,8 +21,13 @@
#ifndef HOSTED_CODEC_H
#define HOSTED_CODEC_H
+#if defined(HAVE_SDL_AUDIO) \
+ && !(CONFIG_PLATFORM & PLATFORM_MAEMO5)
+AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -80, 0, 0)
+#else
#define AUDIOHW_CAPS (MONO_VOL_CAP)
AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -99, 0, 0)
+#endif /* CONFIG_PLATFORM & PLATFORM_SDL */
#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
/* Bass and treble tone controls */