Build receivers, filters and writers without -h and -V support.
[paraslash.git] / m4 / gengetopt / resample_filter.m4
1 args "--no-version --no-help"
2
3 include(header.m4)
4
5 option "converter" C
6 #~~~~~~~~~~~~~~~~~~~
7 "choose converter type"
8 enum typestr = "type"
9 values = "best", "medium", "fastest", "zero_order_hold", "linear"
10 default = "medium"
11 optional
12
13 details = "
14         best: This is a bandlimited interpolator derived from the
15         mathematical sinc function and this is the highest quality
16         sinc based converter, providing a worst case Signal-to-Noise
17         Ratio (SNR) of 97 decibels (dB) at a bandwidth of 97%.
18
19         medium: This is another bandlimited interpolator much like the
20         previous one. It has an SNR of 97dB and a bandwidth of 90%. The
21         speed of the conversion is much faster than the previous one.
22
23         fastest: This is the fastest bandlimited interpolator and
24         has an SNR of 97dB and a bandwidth of 80%.
25
26         zero_order_hold: A Zero Order Hold converter (interpolated
27         value is equal to the last value). The quality is poor but
28         the conversion speed is blindlingly fast.
29
30         linear: A linear converter. Again the quality is poor, but
31         the conversion speed is blindingly fast.
32 "
33
34 include(channels.m4)
35 include(sample_rate.m4)
36 include(sample_format.m4)
37
38 option "dest-sample-rate" d
39 #~~~~~~~~~~~~~~~~~~~~~~~~~~
40 "sample rate to convert to"
41 int typestr = "rate"
42 default = "44100"
43 optional