Nothing to see here: only the usual changes to the command handler,
and no changes to the help text.
When paused, it is still possible to jump around in
the file via the jmp and ff commands.
[/description]
When paused, it is still possible to jump around in
the file via the jmp and ff commands.
[/description]
+
+[subcommand tasks]
+ purpose = print list of active tasks
+ [description]
+ Mainly useful for debugging.
+ [/description]
btr_add_output(buf, sz, pt->btrn);
}
btr_add_output(buf, sz, pt->btrn);
}
-static int com_tasks(struct play_task *pt, int argc, __a_unused char **argv)
+static int com_tasks(struct play_task *pt,
+ __a_unused struct lls_parse_result *lpr)
{
static char state;
char *buf;
size_t sz;
{
static char state;
char *buf;
size_t sz;
- if (argc != 1)
- return -E_PLAY_SYNTAX;
-
buf = get_task_list(&sched);
btr_add_output(buf, strlen(buf), pt->btrn);
state = get_playback_state(pt);
buf = get_task_list(&sched);
btr_add_output(buf, strlen(buf), pt->btrn);
state = get_playback_state(pt);
btr_add_output(buf, sz, pt->btrn);
return 0;
}
btr_add_output(buf, sz, pt->btrn);
return 0;
}
+EXPORT_PLAY_CMD_HANDLER(tasks);
static int com_ls(struct play_task *pt,
__a_unused struct lls_parse_result *lpr)
static int com_ls(struct play_task *pt,
__a_unused struct lls_parse_result *lpr)
SF: play.c
SN: list of commands
---
SF: play.c
SN: list of commands
---
-N: tasks
-D: Print list of active tasks.
-U: tasks
-H: Mainly useful for debugging.
----
N: quit
D: Exit para_play.
U: quit
N: quit
D: Exit para_play.
U: quit