forked from len0rd/rockbox
talk: Voice the volume name when browsing and when voicing full paths
Change-Id: I56660e168edd135a09cd5c021504a58ec9d40093
This commit is contained in:
parent
70b96193e7
commit
78283bda64
5 changed files with 68 additions and 4 deletions
|
|
@ -1252,6 +1252,12 @@ static void say_filetype(int attr)
|
|||
|
||||
static int ft_play_dirname(char* name)
|
||||
{
|
||||
#ifdef HAVE_MULTIVOLUME
|
||||
int vol = path_get_volume_id(name);
|
||||
if (talk_volume_id(vol))
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
return talk_file(tc.currdir, name, dir_thumbnail_name, NULL,
|
||||
global_settings.talk_filetype ?
|
||||
TALK_IDARRAY(VOICE_DIR) : NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue