mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 21:35:43 +01:00
The Advanced Linux Sound Architecture (ALSA) - utilities
90f5967178
Remove the call to snd_config_expand_custom() to expand the top-level input config. And replace it with calls to snd_config_evaluate_string() for each non-compound config while processing individual objects. This will allow retreving variable definitions from object attribute values and global definitions. Add a new field "current_obj_cfg" to hold the current object config being pre-processed. This will facilitate adding simple math expressions for computing attribute values for objects based on other attributes. For ex: we can set the expression for buffer size as follows: buffer_size "$[($in_channels * 48) * 4]" The buffer_size attribute value will be computed with the attribute value "in_channels" based on the expression above. So if $in_channels = 2, buffer_size will be evaluated to 384. Additionally this change also permits computing attribute values based on previously computed values. For example: buffer_size "$[($in_channels * 48) * 4]" dma_buffer_size "$[$buffer_size * 2]" dma_buffer_size will be computed as 768. Note that the order of definitions for buffer_size and dma_buffer_size matters because the evaluation for dma_buffer_size depends on the evaluation of buffer_size. In order to conform to this, the tplg_object_copy_and_add_param() is modified to add attribute configs from class config to an object using snd_config_before() instead of snd_config_add(). With this change, we no longer need to set the auto_attr_updater for buffer type widget objects. So remove it. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz> |
||
---|---|---|
.github/workflows | ||
alsa-info | ||
alsaconf | ||
alsactl | ||
alsaloop | ||
alsamixer | ||
alsaucm | ||
amidi | ||
amixer | ||
aplay | ||
axfer | ||
bat | ||
iecset | ||
include | ||
m4 | ||
po | ||
seq | ||
speaker-test | ||
topology | ||
utils | ||
.gitignore | ||
.travis.yml | ||
acinclude.m4 | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
gitcompile | ||
INSTALL | ||
Makefile.am | ||
README.md | ||
TODO |
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 |
axfer | an utility to transfer audio data frame (enhancement of aplay) |
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.