The Advanced Linux Sound Architecture (ALSA) - utilities
Find a file
Ranjani Sridharan 90f5967178 topology: pre-processor: Move the call to expand variables
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>
2021-12-19 20:32:38 +01:00
.github/workflows github actions: ubuntu - fix the non-interactive build 2020-06-02 13:09:34 +02:00
alsa-info alsa-info.sh: Fix alsa-usbstream.tmp test 2021-12-03 14:52:52 +01:00
alsaconf Add Basque translation 2020-10-23 12:00:20 +02:00
alsactl alsactl: fix the check for additional elements 2021-12-03 11:09:57 +01:00
alsaloop alsaloop: Support "Playback Pitch 1000000" rate shift 2021-10-28 12:32:37 +02:00
alsamixer alsamixer: fix typo in man page (and/of -> and/or) 2021-12-03 14:55:07 +01:00
alsaucm topology: pre-processor: Move the call to expand variables 2021-12-19 20:32:38 +01:00
amidi amidi: remove unused variable 2021-12-06 11:02:10 +01:00
amixer amixer: print help and add doc for 'sevents' and 'events' commands 2021-10-04 10:40:14 +02:00
aplay topology: pre-processor: Move the call to expand variables 2021-12-19 20:32:38 +01:00
axfer axfer: fix wrong calloc() item size in allocate_containers() 2021-06-04 10:12:06 +02:00
bat alsabat: fix typo 2020-10-06 13:00:18 +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 Update French translation 2020-10-23 12:02:12 +02:00
seq aseqnet: add ipv6 support 2021-08-09 20:24:44 +02:00
speaker-test speaker-test: add support for S24_LE and S24_BE 2021-03-14 09:33:39 +01:00
topology topology: pre-processor: Move the call to expand variables 2021-12-19 20:32:38 +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 Add more files to .gitignore 2020-12-10 10:34:40 +01: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 Release v1.2.6 2021-12-06 11:17:28 +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 Makefile.am: add README.md to EXTRA_DIST 2019-01-07 14:57:55 +01:00
README.md README.md: add build status badge 2020-02-18 20:08:37 +01:00
TODO aplay/arecord 2000-12-27 21:24:57 +00:00

alsa-utils

Advanced Linux Sound Architecture - Utilities

Build alsa-utils

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.