Merge branch 't/bits_per_sample'
[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
35
36 option "sample-format" f
37 #~~~~~~~~~~~~~~~~~~~~~~~
38 "specify sample format"
39 # This must match the enum sample_format of para.h
40 values = "S8", "U8", "S16_LE", "S16_BE", "U16_LE", "U16_BE" enum
41 default = "S16_LE"
42 optional
43