summaryrefslogtreecommitdiff
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 @@
21#ifndef HOSTED_CODEC_H 21#ifndef HOSTED_CODEC_H
22#define HOSTED_CODEC_H 22#define HOSTED_CODEC_H
23 23
24#if defined(HAVE_SDL_AUDIO) \
25 && !(CONFIG_PLATFORM & PLATFORM_MAEMO5)
26AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -80, 0, 0)
27#else
24#define AUDIOHW_CAPS (MONO_VOL_CAP) 28#define AUDIOHW_CAPS (MONO_VOL_CAP)
25AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -99, 0, 0) 29AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -99, 0, 0)
30#endif /* CONFIG_PLATFORM & PLATFORM_SDL */
26 31
27#if (CONFIG_PLATFORM & PLATFORM_ANDROID) 32#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
28/* Bass and treble tone controls */ 33/* Bass and treble tone controls */