Deduplicate --channels and --sample-rate.
[paraslash.git] / ggo / write.m4
1 include(header.m4)
2 include(loglevel.m4)
3
4 option "writer" w
5 #~~~~~~~~~~~~~~~~
6 "select stream writer"
7 string typestr="name"
8 default="alsa (file if alsa is unsupported)"
9 optional
10 multiple
11 details="
12 May be give multiple times. The same writer may be specified
13 more than once.
14 "
15
16 text "
17 The following options are only necessary for raw audio. When
18 playing wav files this information is obtained from the
19 wave header.
20 "
21
22 option "channels" c
23 #~~~~~~~~~~~~~~~~~~
24 "specify number of channels"
25 int typestr = "num"
26 default = "2"
27 optional
28
29 option "sample-rate" s
30 #~~~~~~~~~~~~~~~~~~~~~
31 "force given sample rate"
32 int typestr = "num"
33 default = "44100"
34 optional