Commit b84e993
committed
audio: add get_active_micropones() function
The Google VTS tests for Android VtsHalAudioV5_0Target(GetMicrophonesTest)
needs to use pointer of function (*get_active_micropones)() which is not
initialized and function in_get_active_microphones() required for initialization
witch is not implemented in tinyhal.
The analysis of the implementation of the audio hal for Qualcomm
(https://android.googlesource.com/platform/hardware/qcom/audio/+/refs/heads/
master/hal/audio_hw.c) and Goldfish
(https://android.googlesource.com/device/generic/goldfish/+/dc18a59%5E%21/)
have been made. The implementation similar to Goldfish(stub) has been chosen as
basic.
Function in_get_active_microphones() was implemented as stub function that will
expand in the future. This function fill array audio_microphone_characteristic_t
with default microphone information.
Signed-off-by: Anton Dehtiarov <anton.dehtiarov@globallogic.com>1 parent bfb0a28 commit b84e993
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2080 | 2080 | | |
2081 | 2081 | | |
2082 | 2082 | | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
2083 | 2091 | | |
2084 | 2092 | | |
2085 | 2093 | | |
| |||
2222 | 2230 | | |
2223 | 2231 | | |
2224 | 2232 | | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
2225 | 2237 | | |
2226 | 2238 | | |
2227 | 2239 | | |
| |||
0 commit comments