error.h: new macro SS_NAME
[paraslash.git] / write.ggo
1 section "general options"
2 #########################
3
4 option "list_writers" L
5 #~~~~~~~~~~~~~~~~~~~~~~
6 "print available writers and exit"
7
8         flag off
9         optional
10
11 option "loglevel" l
12 #~~~~~~~~~~~~~~~~~~
13 "set loglevel (0-6)"
14
15         int typestr="level"
16         default="4"
17         optional
18
19 option "bufsize" b
20 #~~~~~~~~~~~~~~~~~
21 "input buffer size"
22
23         int typestr="kilobytes"
24         default="64"
25         optional
26
27 option "prebuffer" p
28 #~~~~~~~~~~~~~~~~~~~
29 "delay playback until buffer is filled"
30
31         int typestr="percent"
32         default="100"
33         optional
34
35 option "writer" w
36 #~~~~~~~~~~~~~~~~
37
38 "select stream writer
39 may be give multiple times. The same writer
40 may be specified more than once"
41
42         string typestr="name"
43         default="alsa (file if alsa is unsupported)"
44         optional
45         multiple
46
47 option "start_time" t
48 #~~~~~~~~~~~~~~~~~~~~
49 "start playback at given time which must be
50 in a:b format where a denotes seconds and b
51 denotes microseconds since the epoch"
52
53         string typestr="timeval"
54         optional
55
56
57 section "alsa options"
58 ######################
59
60 option "device" d
61 #~~~~~~~~~~~~~~~~
62 "set PCM device"
63         string typestr="device"
64         default="plughw:0,0"
65         optional
66
67 option "channels" c
68 #~~~~~~~~~~~~~~~~~~
69 "number of channels (only neccessary for raw
70 audio)"
71
72         int typestr="num"
73         default="2"
74         optional
75
76 option "sample_rate" s
77 #~~~~~~~~~~~~~~~~~~~~~
78
79 "force given sample rate (only neccessary for
80 raw audio)"
81
82         int typestr="num"
83         default="44100"
84         optional
85