summaryrefslogtreecommitdiff
path: root/m4/lls/include/sample-format.m4
blob: 030ab7d5d3ed85c394072ebd6c02774ce988c087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[option sample-format]
	short_opt = f
	summary = specify sample format
	typestr = format
	arg_info = required_arg
	arg_type = string
	# TODO: dedup this from enum in para.h.
	values = {
		SAMPLE_FORMAT_S8 = "S8",
		SAMPLE_FORMAT_U8 = "U8",
		SAMPLE_FORMAT_S16_LE = "S16_LE",
		SAMPLE_FORMAT_S16_BE = "S16_BE",
		SAMPLE_FORMAT_U16_LE = "U16_LE",
		SAMPLE_FORMAT_U16_BE = "U16_BE",
		SAMPLE_FORMAT_FLOAT_LE = "FLOAT_LE",
		SAMPLE_FORMAT_FLOAT_BE = "FLOAT_BE"
	}
	default_val = S16_LE
	[help]
		It is only necessary to specify this for raw audio. See the discussion
		of the --channels option.
	[/help]