mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
voice: Use "All" prefix for final progress announcement
Use "All" prefix when the final item count is announced in display_playlist_count and search_playlist ("All 2000 tracks saved"), to make it possible to tell when the operation has finished. Change-Id: I90419599fb30da511ee4671b8f0f7f92e2098fd0
This commit is contained in:
parent
4e50ae5e6e
commit
60010b52a2
2 changed files with 13 additions and 3 deletions
|
@ -679,8 +679,18 @@ static void display_playlist_count(int count, const unsigned char *fmt,
|
||||||
if(count && TIME_AFTER(current_tick, next_tick))
|
if(count && TIME_AFTER(current_tick, next_tick))
|
||||||
{
|
{
|
||||||
talked_tick = current_tick;
|
talked_tick = current_tick;
|
||||||
talk_number(count, false);
|
if (final)
|
||||||
talk_id(id, true);
|
{
|
||||||
|
talk_id(LANG_ALL, false);
|
||||||
|
talk_number(count, true);
|
||||||
|
talk_id(id, true);
|
||||||
|
talk_force_enqueue_next(); /* Don't interrupt final announcement */
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
talk_number(count, false);
|
||||||
|
talk_id(id, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1295,7 +1295,7 @@ bool search_playlist(void)
|
||||||
|
|
||||||
cpu_boost(false);
|
cpu_boost(false);
|
||||||
|
|
||||||
cond_talk_ids_fq(TALK_ID(found_indicies_count, UNIT_INT),
|
cond_talk_ids_fq(LANG_ALL, TALK_ID(found_indicies_count, UNIT_INT),
|
||||||
LANG_PLAYLIST_SEARCH_MSG);
|
LANG_PLAYLIST_SEARCH_MSG);
|
||||||
if (!found_indicies_count)
|
if (!found_indicies_count)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue