Files
third_party_tinyalsa/Android.bp
T
Bhalchandra Gajare 26850f5435 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 <rohitkr@codeaurora.org>
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2020-02-07 12:53:00 +05:30

60 lines
1.1 KiB
Plaintext

cc_library {
name: "libtinyalsa",
host_supported: true,
vendor_available: true,
srcs: [
"src/mixer.c",
"src/mixer_hw.c",
"src/mixer_plugin.c",
"src/pcm.c",
"src/pcm_hw.c",
"src/pcm_plugin.c",
"src/snd_card_plugin.c",
],
cflags: ["-Werror", "-Wno-macro-redefined"],
export_include_dirs: ["include"],
local_include_dirs: ["include"],
target: {
darwin: {
enabled: false,
},
},
system_shared_libs: ["libc", "libdl"],
}
cc_binary {
name: "tinyplay",
host_supported: true,
srcs: ["utils/tinyplay.c"],
shared_libs: ["libtinyalsa"],
cflags: ["-Werror"],
target: {
darwin: {
enabled: false,
},
},
}
cc_binary {
name: "tinycap",
srcs: ["utils/tinycap.c"],
shared_libs: ["libtinyalsa"],
cflags: ["-Werror"],
}
cc_binary {
name: "tinymix",
srcs: ["utils/tinymix.c"],
shared_libs: ["libtinyalsa"],
cflags: ["-Werror", "-Wall"],
}
cc_binary {
name: "tinypcminfo",
srcs: ["utils/tinypcminfo.c"],
shared_libs: ["libtinyalsa"],
cflags: ["-Werror"],
}