diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2018-12-15 13:09:07 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2018-12-15 13:09:51 -0500 |
commit | c2308bdf400e79b6f821885034e0f44abd6877a3 (patch) | |
tree | df982daf972d92c731a3716ec5955beb86350960 /apps/screens.c | |
parent | d8ce84c38203526b6dc55e4178e709ab8afe2b9a (diff) | |
download | rockbox-c2308bdf400e79b6f821885034e0f44abd6877a3.tar.gz rockbox-c2308bdf400e79b6f821885034e0f44abd6877a3.zip |
Fix HWCODEC builds.
Change-Id: I7abed5dab9b4d0d053c274404dc4dc06864aa060
Diffstat (limited to 'apps/screens.c')
-rw-r--r-- | apps/screens.c | 2 |
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) | |||
674 | } | 674 | } |
675 | } | 675 | } |
676 | 676 | ||
677 | #if CONFIG_CODEC == SWCODEC | ||
677 | /* Say a replaygain ID3 value from its text form */ | 678 | /* Say a replaygain ID3 value from its text form */ |
678 | static void say_gain(char *buf) | 679 | static void say_gain(char *buf) |
679 | { | 680 | { |
@@ -729,6 +730,7 @@ static void say_gain(char *buf) | |||
729 | }else /* we didn't find a number, just spell everything */ | 730 | }else /* we didn't find a number, just spell everything */ |
730 | talk_spell(buf, true); | 731 | talk_spell(buf, true); |
731 | } | 732 | } |
733 | #endif | ||
732 | 734 | ||
733 | static const char * id3_get_or_speak_info(int selected_item, void* data, | 735 | static const char * id3_get_or_speak_info(int selected_item, void* data, |
734 | char *buffer, size_t buffer_len, | 736 | char *buffer, size_t buffer_len, |