The Advanced Linux Sound Architecture (ALSA) - utilities
Find a file
Jyri Sarha cf25cf6767 topology: pre-process-object: Expand definitions within strings
Expand the pre-processor to allow for expanding the definitions,
object attribute references and arithmetic expressions within strings.

With this extension its possible to embedded definitions or attribute
references into topology string objects. For example:

Define {
       PCM_NUMBER	1
}

Object.Pipeline {
	pcm-playback.0 {

	Object.Widget {
		copier.1 {
			copier_type	"host"
		}
		gain.1 {
			Object.Control.mixer.1 {
				name 'hw:$[$PCM_NUMBER - 1] Playback Volume'
		}
	}

	Object.Base {
		route.1 {
			source	copier.host.$index.1
			sink	gain.$index.1
		}
	}
}

In the example the $[$PCM_NUMBER - 1] would be replaced with the
result of arithmetic expression '1 - 1' in other words '0' , and
$index in all occurrences with index attribute found from pipeline
object. Any non alpha numeric or '_' character are treated as
delimiters for variable names if $[]-notation is not used.

Fixes: https://github.com/alsa-project/alsa-utils/pull/189
Signed-off-by: Jyri Sarha <jyri.sarha@intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-02-06 15:49:14 +01:00
.github/workflows github workflow: add libtoolize call for alsa-utils 2022-05-03 13:33:14 +02:00
alsa-info alsa-info.sh: Fix alsa-usbstream.tmp test 2021-12-03 14:52:52 +01:00
alsaconf Add Georgian translation 2022-11-04 22:09:52 +01:00
alsactl Add OpenBSD support 2023-02-03 13:08:44 +01:00
alsaloop Add OpenBSD support 2023-02-03 13:08:44 +01:00
alsamixer alsamixer: add alsamixer.rc.example file 2022-05-31 14:16:30 +02:00
alsaucm aplay: Fix for arecord recording ghost data 2022-05-31 14:09:29 +02:00
amidi Add OpenBSD support 2023-02-03 13:08:44 +01:00
amixer amixer: fix the help for 'events' command 2022-08-25 09:33:58 +02:00
aplay Add OpenBSD support 2023-02-03 13:08:44 +01:00
axfer Add OpenBSD support 2023-02-03 13:08:44 +01:00
bat Add OpenBSD support 2023-02-03 13:08:44 +01:00
iecset Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
include Add OpenBSD support 2023-02-03 13:08:44 +01:00
m4 Fix autoreconf 2005-08-19 13:07:45 +00:00
po Add Georgian translation 2022-11-04 22:09:52 +01:00
seq aseqnet: add ipv6 support 2021-08-09 20:24:44 +02:00
speaker-test Add OpenBSD support 2023-02-03 13:08:44 +01:00
topology topology: pre-process-object: Expand definitions within strings 2023-02-06 15:49:14 +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 chore: Delete .travis.yml because of using not Travis CI but GitHub Actions 2022-11-04 22:02:03 +01: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 Add OpenBSD support 2023-02-03 13:08:44 +01:00
COPYING Updated COPYING with the recent FSF address 2011-06-03 14:24:30 +02:00
gitcompile topology: plugins - add Intel nhlt encoder plugin 2022-05-03 13:24:03 +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 chore: Add link to master branch on GitHub Actions 2022-11-04 22:02:49 +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.