forked from len0rd/rockbox
Add conditionals for functions only needed on SWCODEC targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31296 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
160d9f6908
commit
bda8a963ad
6 changed files with 19 additions and 0 deletions
|
|
@ -957,6 +957,7 @@ 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,
|
||||
|
|
@ -973,6 +974,7 @@ int talk_dir_or_spell(const char* dirname,
|
|||
return talk_spell_basename(dirname, prefix_ids, enqueue);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* say a numeric value, this word ordering works for english,
|
||||
but not necessarily for other languages (e.g. german) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue