The Advanced Linux Sound Architecture (ALSA) - utilities
Find a file
Takashi Sakamoto b83a8cd3be axfer: add a parser for command-line options
In aplay, many command-line options are supported. Some of them have
dependency or conflicts. Furthemore, some of them are just for
runtime configuration of alsa-lib(libasound), and some options can
be used by several xfer backends commonly; e.g. options for file name,
sample format and sampling rate.

This commit adds a parser for the common options below.
 * --help (-h)
  * Just output 'help' string (not written yet).
 * --verbose (-v)
  * For verbose output, including information about xfer, mapper and
    container.
 * --format (-f): string. format literals or one of ['cd'|'cdr'|'dat']
  * For sample format supported by ALSA PCM interface. Special format
    can be used. For playback, this is auto-detected according to actual
    file format.
 * --channels (-c)
  * For the number of samples included in one data frame. For playback,
    this is auto-detected according to actual file format, except for
    'raw' format. This option can conflict to above format option.
 * --rate (-r)
  * For the number of data frames transferred in one second. For playback,
    this is auto-detected according to actual file format, except for
    'raw' format. This option can conflict to format option above.
 * --file-type (-f): string. one of ['wav'|'au'|'voc'|'raw']
  * For format of files of given paths. For playback, this is optional
    because the format is auto-detected. For capture, this is optional too
    because the format is decided according to suffix of given path.
    Anyway, this option is used for cases to fail to detect or decide.
 * --separate-channels (-I)
  * When using several files as source or destination for transmission
    of data frame, this option can be used with several file paths.

When '--separate-channels' option is used, users can give several file
paths to source/destination of data transmission, else they can give single
file path for the purpose. When multiple files are handled by this option,
for playback, data frames in first channel is used to construct buffer for
data transmission with multi channel. For capture, data frames in each
channel of buffer are written to each of given path. Furthermore, when a
single path is given for capture, file paths are auto-generated according
to available number of channels. For example, 'name.wav' is given for
2 channels capture, 'name-0.wav' and 'name-1.wav' are generated. In a
case of no suffix, 'name-0' and 'name-1' are generated.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-11-13 12:04:30 +01:00
alsa-info alsa-info: add ACPI device status 2017-01-10 09:09:57 +01:00
alsaconf alsaconf: update gentoo to use modprobe.d method as everyone else 2013-11-14 08:51:55 +01:00
alsactl alsactl: lock - fix the array size (gcc warning) 2018-10-14 17:01:38 +02:00
alsaloop alsaloop: more avail_min cleanups 2018-10-24 16:01:06 +02:00
alsamixer alsamixer: fix gcc warnings 2018-10-14 17:05:22 +02:00
alsaucm alsatplg: add man file 2018-10-09 10:53:32 +02:00
amidi Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
amixer Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
aplay aplay: improve available conditions for '--samples' and '--duration' options 2018-11-08 16:03:32 +01:00
axfer axfer: add a parser for command-line options 2018-11-13 12:04:30 +01:00
bat alsabat: Allow custom sample format for round trip latency test 2018-08-05 18:45:28 +02:00
iecset Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
include configure.in -> configure.ac rename 2014-05-07 10:55:59 +02:00
m4 Fix autoreconf 2005-08-19 13:07:45 +00:00
po fix gettextize 2018-10-24 20:46:25 +02:00
seq Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
speaker-test speaker-test: Allow sampling rates up to 768000 2018-06-07 12:15:46 +02:00
topology topology/topology.c: drop unneeded <dlfcn.h> include 2018-11-02 15:04:34 +01:00
utils Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:25:17 +02:00
.gitignore initial version of .travis.yml 2018-10-24 22:30:59 +02:00
.travis.yml initial version of .travis.yml 2018-10-24 22:30:59 +02:00
acinclude.m4 fixed for the recent autoconf. 2004-01-26 15:57:37 +00:00
ChangeLog update build tools. 2005-08-13 16:27:59 +00:00
configure.ac axfer: add unit test for container interface 2018-11-13 12:04:25 +01:00
COPYING Updated COPYING with the recent FSF address 2011-06-03 14:24:30 +02:00
gitcompile configure.in -> configure.ac rename 2014-05-07 10:55:59 +02:00
INSTALL alsactl: Move systemd unit start-up from basic.target to sound.target 2017-10-06 14:32:16 +02:00
Makefile.am axfer: add an entry point for this command 2018-11-13 12:04:19 +01:00
README.md rename and update README.md 2018-10-24 17:41:16 +02:00
TODO aplay/arecord 2000-12-27 21:24:57 +00:00

alsa-utils

Advanced Linux Sound Architecture - Utilities

This package contains the command line utilities for the ALSA project. The package can be compiled only with the installed ALSA driver and the ALSA C library (alsa-lib).

Utility Description
alsaconf the ALSA driver configurator script
alsa-info a script to gather information about ALSA subsystem
alsactl an utility for soundcard settings management
aplay/arecord an utility for the playback / capture of .wav,.voc,.au files
amixer a command line mixer
alsamixer a ncurses mixer
amidi a utility to send/receive sysex dumps or other MIDI data
iecset a utility to show/set the IEC958 status bits
speaker-test a speaker test utility
alsaloop a software loopback for PCM devices
alsaucm Use Case Manager utility
alsabat a sound tester for ALSA sound card driver
alsatplg ALSA topology compiler

You may give a look for more information about the ALSA project to URL http://www.alsa-project.org.