hw: add option to specify dynamic DAPM routing to apply when the plugin is opened

GitHub pull_request - opened github at alsa-project.org
Mon Nov 15 12:41:34 CET 2021


alsa-project/alsa-lib pull request #192 was opened from bku-sue:

The kernel's sound soc subsystem has a DAPM functionality, which makes complex audio routing easy, and most of it is done inside the kernel. However, in the case of dynamic routing (when there is a multiplexer in the signal path), the multiplexer is exposed as an enum MIXER control which must be set from userspace. As the selection of these controls directly influences what audio path is captured/played, the sensible thing to do is to create multiple HW plugins in the ALSA conf, each referring to the same HW device number, but with different routing parameters.

Request URL   : https://github.com/alsa-project/alsa-lib/pull/192
Patch URL     : https://github.com/alsa-project/alsa-lib/pull/192.patch
Repository URL: https://github.com/alsa-project/alsa-lib


More information about the Alsa-devel mailing list