The Advanced Linux Sound Architecture (ALSA) - utilities
Find a file
Ranjani Sridharan 9d058fff27 topology: pre-processor: Add support for CombineArrays
Introduce a new keyword, "CombineArrays" to instantiate multiple nodes
of the type specified. For example:

CombineArrays.Object.Base.input_audio_format [
	{
		in_rate [
			8000
			16000
			48000
		]
		in_bit_depth [
			32
		]
		in_valid_bit_depth [
			24
			32
		]
	}
]

This would be expanded into 6 objects with the rate, bit_depth and
valid_bit_depth combinations of the arrays of values above.

Object.Base.input_audio_format [
	{
		in_rate 8000
		in_bit_depth 32
		in_valid_bit_depth 32
	}
	{
		in_rate 16000
		in_bit_depth 32
		in_valid_bit_depth 32
	}
	{
		in_rate 48000
		in_bit_depth 32
		in_valid_bit_depth 32
	}
	{
		in_rate 8000
		in_bit_depth 32
		in_valid_bit_depth 24
	}
	{
		in_rate 16000
		in_bit_depth 32
		in_valid_bit_depth 24
	}
	{
		in_rate 48000
		in_bit_depth 32
		in_valid_bit_depth 24
	}
]

The CombineArrays definition is an array so that multiple combinations can
be specified in order to deal with only valid combinations. For example,
16-bit bit_depth is only valid with 16-bit valid_bit_depth. So if we
also want to add those combinations with the multiple rates, the
definition would look like:

CombineArrays.Object.Base.input_audio_format [
        {
                in_rate [
                        8000
                        16000
                        48000
                ]
                in_bit_depth [
                        32
                ]
                in_valid_bit_depth [
                        24
                        32
                ]
        }
        {
                in_rate [
                        8000
                        16000
                        48000
                ]
                in_bit_depth [
                        16
                ]
                in_valid_bit_depth [
                        16
                ]
        }
]

Fixes: https://github.com/alsa-project/alsa-utils/pull/216
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-08-01 09:40:51 +02:00
.github/workflows github workflow: add libtoolize call for alsa-utils 2022-05-03 13:33:14 +02:00
alsa-info alsa-info.sh: increase version to 0.5.3 2023-05-03 16:41:26 +02:00
alsaconf Add Georgian translation 2022-11-04 22:09:52 +01:00
alsactl alsactl: add define to compile with glibc 2.38 2023-08-01 09:36:04 +02:00
alsaloop alsaloop: fix loopcount condition 2023-02-27 13:35:43 +01:00
alsamixer alsamixer: add -B,--black-background option 2023-02-10 13:36:23 +01:00
alsaucm alsaucm: fix typo in docs (can can) 2023-02-27 13:08:50 +01: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 arecord: use correct duration 2023-05-03 16:26:22 +02:00
axfer Add OpenBSD support 2023-02-03 13:08:44 +01:00
bat alsabat: improve error handling in bat_init() 2023-02-27 13:23:28 +01:00
iecset Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
include include: fix package - add bswap.h and os_compat.h to noinst_HEADERS 2023-02-27 13:05:17 +01:00
m4 Fix autoreconf 2005-08-19 13:07:45 +00:00
nhlt nhlt: add nhlt-dmic-info utility 2023-05-16 15:54:05 +02:00
po Add Georgian translation 2022-11-04 22:09:52 +01:00
seq aplaymidi: Add UMP support 2023-06-06 15:44:58 +02:00
speaker-test Add OpenBSD support 2023-02-03 13:08:44 +01:00
topology topology: pre-processor: Add support for CombineArrays 2023-08-01 09:40:51 +02: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 nhlt: add nhlt-dmic-info utility 2023-05-16 15:54:05 +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 aseqdump: Add UMP support 2023-06-06 15:44:57 +02: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 nhlt: add nhlt-dmic-info utility 2023-05-16 15:54:05 +02: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.