ggo: Move options from makefile to .m4 files.
[paraslash.git] / m4 / gengetopt / write.m4
1 args "--no-handle-help"
2
3 include(header.m4)
4 include(loglevel.m4)
5
6 option "writer" w
7 #~~~~~~~~~~~~~~~~
8 "select stream writer"
9 string typestr="name"
10 default="alsa (file if alsa is unsupported)"
11 optional
12 multiple
13 details="
14 May be give multiple times. The same writer may be specified
15 more than once.
16 "
17
18 text "
19 The following options are only necessary for raw audio. When
20 playing wav files this information is obtained from the
21 wave header.
22 "
23
24 option "channels" c
25 #~~~~~~~~~~~~~~~~~~
26 "specify number of channels"
27 int typestr = "num"
28 default = "2"
29 optional
30
31 option "sample-rate" s
32 #~~~~~~~~~~~~~~~~~~~~~
33 "force given sample rate"
34 int typestr = "num"
35 default = "44100"
36 optional
37
38 option "sample-format" f
39 #~~~~~~~~~~~~~~~~~~~~~~~
40 "specify sample format"
41 # This must match the enum sample_format of para.h
42 values = "S8", "U8", "S16_LE", "S16_BE", "U16_LE", "U16_BE" enum
43 default = "S16_LE"
44 optional
45