Commit 480009e
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 480009e
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2078 | 2078 | | |
2079 | 2079 | | |
2080 | 2080 | | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
2081 | 2087 | | |
2082 | 2088 | | |
2083 | 2089 | | |
| |||
2222 | 2228 | | |
2223 | 2229 | | |
2224 | 2230 | | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
2225 | 2235 | | |
2226 | 2236 | | |
2227 | 2237 | | |
| |||
0 commit comments