Only voice track insertion splash if voice menus enabled - fix for FS#9223
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18147 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
34dc7c445a
commit
fa98298983
2 changed files with 3 additions and 3 deletions
|
@ -2916,7 +2916,7 @@ int playlist_insert_directory(struct playlist_info* playlist,
|
|||
if (queue)
|
||||
count_str = ID2P(LANG_PLAYLIST_QUEUE_COUNT);
|
||||
else
|
||||
count_str = ID2P(LANG_PLAYLIST_INSERT_COUNT);
|
||||
count_str = ID2P(LANG_PLAYLIST_INSERT_COUNT);
|
||||
|
||||
display_playlist_count(0, count_str, false);
|
||||
|
||||
|
|
|
@ -319,8 +319,8 @@ static int display_playlists(char* playlist, bool view)
|
|||
static void display_insert_count(int count)
|
||||
{
|
||||
static long talked_tick = 0;
|
||||
if(count && (talked_tick == 0
|
||||
|| TIME_AFTER(current_tick, talked_tick+5*HZ)))
|
||||
if(global_settings.talk_menu && count &&
|
||||
(talked_tick == 0 || TIME_AFTER(current_tick, talked_tick+5*HZ)))
|
||||
{
|
||||
talked_tick = current_tick;
|
||||
talk_number(count, false);
|
||||
|
|
Loading…
Reference in a new issue