Commit Graph

4 Commits

Author SHA1 Message Date
Glenn Kasten dea96bbde1 Add and update files from Android downstream branch to more closely match
Change-Id: If0ebdf44667202eaf73ec41f583092bf61e88b63
2020-09-22 15:19:39 -07:00
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
Bhalchandra Gajare dcea636de0 tinyalsa: add support for PCM plugins
Update the pcm framework to support plugins. Resolve the pcm device node
to be either kernel device or virtual device and setup function pointers
accordingly. Implement framework functionality for pcm_plugin.c for ease
of plugin development. Plugin itself is compiled as shared object (.so)
and dynamically linked from pcm_plugin.c.

Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2020-02-07 12:16:27 +05:30
Richard Fitzgerald cdcc350bf9 Replace old style Android.mk with new Android.bp
Create a new Android.bp file used by Android Oreo. There are
dependencies on tinyalsa from other components in Oreo that
use the new build system and these break if tinyalsa is using
the older Android.mk build system.

Oreo still picks up and tries to build the Android.mk found in
the jni directory and this leads to a build conflict so it has
been deleted.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
2017-10-19 15:02:17 +01:00