Mikhail Naganov d21b0e7e55 audio: Simplify and extend alsa::Mixer
Remove alsa::MixerControl. tinyALSA contains utility
functions for setting values in percents, they use
the same logic as used to be there for handling
the "volume" control. Use access serialization at
the mixer level, rather than for each control.

Move the call to 'mixer_open' to alsa::Mixer.

Add controls for capture (mic) mute and gain. They
will be used by the primary HAL.

Bug: 264712385
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I0fad994153de96aceec3eb8f2fec19805ec912f8
(cherry picked from commit f12d4a1ef8)
Merged-In: I0fad994153de96aceec3eb8f2fec19805ec912f8
2023-08-01 14:31:01 -07:00
2022-06-14 14:08:59 +09:00
2023-04-07 23:41:20 +00:00
2023-04-07 23:41:20 +00:00
2023-04-07 23:41:20 +00:00
2023-04-07 23:41:20 +00:00
2023-04-07 23:41:20 +00:00
2023-04-07 23:41:20 +00:00
2023-04-21 01:51:49 +00:00
2022-10-31 20:43:43 +00:00
2023-04-07 23:41:20 +00:00
2022-11-18 23:40:59 +00:00
2022-06-14 14:08:59 +09:00
2022-11-15 17:37:08 +00:00
2023-04-07 23:41:20 +00:00
2023-04-07 23:41:20 +00:00
2023-04-07 23:41:20 +00:00
2023-04-07 23:41:20 +00:00
2023-07-24 18:52:39 +00:00
2021-10-28 22:04:46 +00:00
2019-12-13 14:24:23 -08:00
2016-08-30 11:28:36 -07:00
2022-08-01 16:19:14 +00:00
2021-01-21 15:06:51 +09:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%