afs.cmd: Improve second level indenting.
[paraslash.git] / audiod.cmd
1 BN: audiod
2 SF: audiod_command.c
3 SN: list of audiod commands
4 ---
5 N: cycle
6 D: switch to next mode
7 U: cycle
8 H: on -> standby -> off -> on
9 ---
10 N: grab
11 D: grab the audio stream
12 L:
13 U: -- grab [-m[{s|p|a}]] [-p=PARENT] [-n=NAME] [-o]
14 H:
15 H: grab ('splice') the audio stream at any position in the buffer
16 H: tree and send that data back to the client.
17 H:
18 H: Options:
19 H:
20 H: -m Change grab mode. Defaults to sloppy grab if not given.
21 H:
22 H: -ms: sloppy grab
23 H: -mp: pedantic grab
24 H: -ma: aggressive grab
25 H:
26 H: The various grab modes only differ in what happens if the
27 H: file descriptor to write the grabbed audio data to is not
28 H: ready for writing (i.e. would block). Sloppy mode ignores
29 H: the write, pedantic mode aborts and aggressive mode tries
30 H: to write anyway.
31 H:
32 H: -p Grab output of node PARENT of the buffer tree.
33 H:
34 H: -n Name of the new buffer tree node. Defaults to 'grab'.
35 H:
36 H: -o One-shot mode: Stop grabbing if audio file changes.
37 ---
38 N: help
39 D: display command list or help for given command
40 U: help [command]
41 H: When I was younger, so much younger than today, I never needed anybody's help
42 H: in any way. But now these days are gone, I'm not so self assured. Now I find
43 H: I've changed my mind and opened up the doors.
44 H: -- Beatles: Help
45 ---
46 N: off
47 D: deactivate para_audiod
48 U: off
49 H: Close connection to para_server and stop all decoders.
50 ---
51 N: on
52 D: activate para_audiod
53 U: on
54 H: Establish connection to para_server, retrieve para_server's current status. If
55 H: playing, start corresponding decoder. Otherwise stop all decoders.
56 ---
57 N: sb
58 D: enter standby mode
59 U: sb
60 H: Stop all decoders but leave connection to para_server open.
61 ---
62 N: stat
63 D: print status information
64 U: stat [-p] [item1 ...]
65 H: Dump given status items (all if none given) to stdout. If -p is given, use
66 H: parser-friendly mode.
67 ---
68 N: tasks
69 D: list current tasks
70 U: tasks
71 H: print the list of task ids together with the status of each task
72 ---
73 N: term
74 D: terminate audiod
75 U: term
76 H: Stop all decoders, shut down connection to para_server and exit.