alsa-utils/axfer
Takashi Sakamoto ae378611b7 axfer: add an option to dump available hardware parameters
In ALSA PCM interface, before configuring hardware actually, applications
can request available set of hardware parameters for runtime of PCM
substream. The set of parameters are represented and delivered by a
structure.

In alsa-lib PCM API, the above design is abstracted by a series of
snd_pcm_hw_params_xxx() functions. An actual layout of the structure is
hidden from applications by an opaque pointer.

In aplay, '--dump-hw-params' option is for this purpose. With this option,
the command output available set of the hardware parameters.

This commit adds support for the option. Unlike aplay, this commit takes
this program to finish after dumping the parameters for simplicity of
usage.

I note that all of combinations in the set are not necessarily available
when the PCM substream includes dependencies of parameters described by
constraints and rules.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-11-13 12:04:35 +01:00
..
test axfer: add a unit test for mapper interface 2018-11-13 12:04:28 +01:00
container-au.c axfer: add support for a container of Sparc AU format 2018-11-13 12:04:23 +01:00
container-raw.c axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
container-riff-wave.c axfer: add support for a container of Microsoft/IBM RIFF/Wave format 2018-11-13 12:04:22 +01:00
container-voc.c axfer: add support for a container of Creative Tech. voice format 2018-11-13 12:04:23 +01:00
container.c axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
container.h axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
frame-cache.c axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
frame-cache.h axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
main.c axfer: add a sub-command to transfer data frames 2018-11-13 12:04:33 +01:00
Makefile.am axfer: add a sub-command to transfer data frames 2018-11-13 12:04:33 +01:00
mapper-multiple.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper-single.c axfer: add support for a mapper for single target 2018-11-13 12:04:27 +01:00
mapper.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper.h axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
misc.h axfer: add a parser for command-line options 2018-11-13 12:04:30 +01:00
subcmd-list.c axfer: add a sub-command to print list of PCMs/devices 2018-11-13 12:04:20 +01:00
subcmd-transfer.c axfer: add an option to dump available hardware parameters 2018-11-13 12:04:35 +01:00
subcmd.h axfer: add a sub-command to transfer data frames 2018-11-13 12:04:33 +01:00
xfer-libasound-irq-rw.c axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
xfer-libasound.c axfer: add an option to dump available hardware parameters 2018-11-13 12:04:35 +01:00
xfer-libasound.h axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
xfer-options.c axfer: add an option to dump available hardware parameters 2018-11-13 12:04:35 +01:00
xfer.c axfer: add support to transfer data frames by alsa-lib PCM APIs 2018-11-13 12:04:31 +01:00
xfer.h axfer: add an option to dump available hardware parameters 2018-11-13 12:04:35 +01:00