summaryrefslogtreecommitdiffstats
path: root/apps/screens.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-12-15 13:09:07 -0500
committerSolomon Peachy <pizza@shaftnet.org>2018-12-15 13:09:51 -0500
commitc2308bdf400e79b6f821885034e0f44abd6877a3 (patch)
treedf982daf972d92c731a3716ec5955beb86350960 /apps/screens.c
parentd8ce84c38203526b6dc55e4178e709ab8afe2b9a (diff)
downloadrockbox-c2308bdf400e79b6f821885034e0f44abd6877a3.tar.gz
rockbox-c2308bdf400e79b6f821885034e0f44abd6877a3.zip
Fix HWCODEC builds.
Change-Id: I7abed5dab9b4d0d053c274404dc4dc06864aa060
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 527419ff7a..608f055de0 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -674,6 +674,7 @@ static void say_number_and_spell(char *buf, bool year_style)
}
}
+#if CONFIG_CODEC == SWCODEC
/* Say a replaygain ID3 value from its text form */
static void say_gain(char *buf)
{
@@ -729,6 +730,7 @@ static void say_gain(char *buf)
}else /* we didn't find a number, just spell everything */
talk_spell(buf, true);
}
+#endif
static const char * id3_get_or_speak_info(int selected_item, void* data,
char *buffer, size_t buffer_len,