mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:05:42 +01:00
The Advanced Linux Sound Architecture (ALSA) - utilities
571d1fe871
Objects that have attributes with token_ref need to have separate SectionData and SectionVendorTuples for each unique token_ref based on the attribute_sets in the object's attribute_set_list. Add the tplg_pp_add_object_data() function to add the data[] refs in the object and also the respective SectionData and SectionVendorTuples. For example for the pga object: Object.Widget.pga."0" { pipeline_id 2 format s24le type pga no_pm 1 uuid "7e:67:7e:b7:f4:5f:88:41:af:14:fb:a8:bd:bf:8" period_sink_count 2 period_source_count 2 ramp_step_ms 250 ramp_step_type "linear" mixer.0 { .... } mixer.0.name "2 Master Playback Volume" } The following sections will be added: SectionWidget.'pga.2.0' { index 2 type pga no_pm 1 mixer [ "2 Master Playback Volume" ] bytes [ ] data [ "pga.2.0.sof_tkn_comp.word" "pga.2.0.sof_tkn_comp.string" "pga.2.0.sof_tkn_comp.uuid" "pga.2.0.sof_tkn_volume.word" ] } SectionData."pga.2.0.sof_tkn_comp.word" { tuples "pga.2.0.sof_tkn_comp.word" } SectionData."pga.2.0.sof_tkn_comp.string" { tuples "pga.2.0.sof_tkn_comp.string" } SectionData."pga.2.0.sof_tkn_comp.uuid" { tuples "pga.2.0.sof_tkn_comp.uuid" } SectionData."pga.2.0.sof_tkn_volume.word" { tuples "pga.2.0.sof_tkn_volume.word" } SectionVendorTuples."pga.2.0.sof_tkn_comp.word" { tokens "sof_tkn_comp" tuples."word" { period_source_count "2" period_sink_count "2" } } SectionVendorTuples."pga.2.0.sof_tkn_comp.string" { tokens "sof_tkn_comp" tuples."string" { format "s24le" } } SectionVendorTuples."pga.2.0.sof_tkn_comp.uuid" { tokens "sof_tkn_comp" tuples."uuid" { uuid "7e:67:7e:b7:f4:5f:88:41:af:14:fb:a8:bd:bf:8" } } SectionVendorTuples."pga.2.0.sof_tkn_volume.word" { tokens "sof_tkn_volume" tuples."word" { ramp_step_ms "250" ramp_step_type "0" } } Note that the ramp_step_type of "linear" is converted to the tuple value 0. 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.