mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix HWCODEC builds.
Change-Id: I7abed5dab9b4d0d053c274404dc4dc06864aa060
This commit is contained in:
parent
d8ce84c382
commit
c2308bdf40
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -1172,7 +1172,6 @@ int talk_file_or_spell(const char *dirname, const char *filename,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
/* Play a directory's .talk thumbnail, fallback to spelling the filename, or
|
||||
go straight to spelling depending on settings. */
|
||||
int talk_dir_or_spell(const char* dirname,
|
||||
|
@ -1189,7 +1188,6 @@ int talk_dir_or_spell(const char* dirname,
|
|||
return talk_spell_basename(dirname, prefix_ids, enqueue);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Speak thumbnail for each component of a full path, again falling
|
||||
back or going straight to spelling depending on settings. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue