alsa-lib/src
Jaroslav Kysela d7d5c724ed ucm: implement MacroDefine and Macro subtree evaluation
The arguments are set as temporary variables as /MACRO_NAME/_/ARGUMENT_NAME/.

Example:

  # define new macro MyMacro with arguments ctl_name and ctl_value
  DefineMacro.MyMacro {
    BootSequence [
      cset "name='${var:MyMacro_ctl_name}' ${var:MyMacro_ctl_value}"
    ]
  }

  # instantiate macro for Speaker control (short version)
  Macro.headphone.MyMacro "ctl_name='Speaker Switch',ctl_value=off"

  # instantiate macro for Mic control (second version)
  Macro.mic.MyMacro {
	ctl_name "Mic Switch"
	ctl_value "off"
  }

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2022-05-13 17:25:29 +02:00
..
alisp alisp: add the missing include 2019-03-15 13:16:20 +01:00
conf conf: load the card specific configurations to the config sub-tree 2021-05-13 11:04:33 +02:00
control control: shm - initialize write buffer 2022-05-05 14:38:09 +02:00
hwdep conf: introduce snd_config_get_card() function 2021-02-26 21:08:28 +01:00
mixer mixer: simple - Fix "Capture Volume" and "Capture Switch" being seen as global controls 2021-05-04 18:21:18 +02:00
pcm control: decode HDMI device name from ELD 2022-05-05 14:31:45 +02:00
rawmidi rawmidi: allocate the read buffer in the params call 2021-10-28 08:40:20 +02:00
seq seq: fix snd_seq_parse_address() 2021-05-26 17:29:48 +02:00
timer timer: remove dead code in _snd_timer_hw_open() 2021-06-02 19:50:17 +02:00
topology src/topology/parser.c: drop duplicate safe_strtol_base 2022-01-01 17:50:27 +01:00
ucm ucm: implement MacroDefine and Macro subtree evaluation 2022-05-13 17:25:29 +02:00
async.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
conf.c conf: fix memory leak in snd_config_substitute() for strings 2022-05-13 16:19:50 +02:00
confeval.c conf: fix the device parsing when arguments has no defaults 2021-12-09 10:15:47 +01:00
confmisc.c conf: snd_config_get_card() remove unused assignment 2021-06-03 07:29:11 +02:00
dlmisc.c dlmisc.c: Avoid double unlock in snd_dlobj_cache_get0() 2021-10-07 16:52:56 +02:00
error.c add snd_strlcpy() and use it everywhere 2019-03-25 16:46:05 +01:00
input.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
Makefile.am conf: add possibility to evaluate simple integer math expressions 2021-11-30 11:33:35 +01:00
names.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
output.c output: Add snd_output_buffer_steal() function 2021-04-13 09:23:06 +02:00
shmarea.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
socket.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
userfile.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
Versions.in conf: fix the export of safe_strto* functions from libasound 2022-01-01 19:26:48 +01:00