From e7c627dd74f5d43439792491c291564e298cbb10 Mon Sep 17 00:00:00 2001 From: Bhalchandra Gajare Date: Wed, 19 Jun 2019 15:30:42 -0700 Subject: tinyalsa: add support for mixer plugins Update the mixer framework to support plugins. Add ability for physical card to have either kernel registered mixer controls or plugin registered mixer control or both. Split mixer controls into two groups, one for kernel registered (hw_grp) and the other for plugin registered (virtual_grp). Signed-off-by: Rohit kumar Signed-off-by: Bhalchandra Gajare --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 77227d5..f4db226 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,9 @@ set (SRCS "src/pcm_hw.c" "src/pcm_plugin.c" "src/snd_card_plugin.c" - "src/mixer.c") + "src/mixer.c" + "src/mixer_hw.c" + "src/mixer_plugin.c") add_library("tinyalsa" ${HDRS} ${SRCS}) target_compile_options("tinyalsa" PRIVATE -Wall -Wextra -Werror -Wfatal-errors ${plugin_opt}) -- cgit v1.2.3