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