From 3ca6b74d2288bf18fc8700c91549f7127fa2d5b9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 1 Jun 2024 12:53:03 +0200 Subject: Add README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..82c6ff3 --- /dev/null +++ b/README @@ -0,0 +1,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", , . + + 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. -- cgit v1.2.3-70-g09d2