aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: 82c6ff3f6fe065c7c97127c943776318de3820a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
NAME
	alsause - Set default ALSA PCM device

SYNPOSIS
	alsause [(-r | name | card:device) [command [argument] ...]]

DESCRIPTION
	The alsause utility lists all ALSA PCM devices or sets, either for the
	user or for a program it starts, the default ALSA PCM de vice.

	No options or operands are specified, alsause will list all ALSA PCM
	devices, otherwise it will set the default ALSA PCM device.

	If command is specified, alsause will run that command with the default
	ALSA PCM device set only for that process and it's child processes.

OPTIONS
	The alsause utility conforms to the Base Definitions volume of
	POSIX.1-2017, Section 12.2, Utility Syntax Guidelines.

	The following option is supported:

	-r	Remove the user-specified default ALSA PCM device, falling back
		to the system-wide default ALSA PCM device.

OPERANDS
	The following operands shall be supported:

	card:device
		The card number and device number to use as the default ALSA PCM
		device.

	name
		The card and device, by name, to use as the default ALSA PCM
		device. This string is on the form output by the alsause
		utility itself: "%s - %s", <card name>, <device name>.

	command
		The name of the utility to be invoked.

	argument
		A string to pass as an argument for the invoked utility.

EXIT STATUS
	If command is invoked, the exit status of alsause is the exit status of
	command; otherwise, the alsause utility exits with one of the following
	values.

	0      The alsause utility completed successfully.

	125    An error occurred in the alsause utility.

	126    The utility specified by command was found but could not be invoked.

	127    The utility specified by command could not be found.

SEE ALSO
	None.