summaryrefslogtreecommitdiff
path: root/audio/common/7.0/example/Effect.cpp
Commit message (Collapse)AuthorAgeFilesLines
* audio: Remove dependency on libxml2 from the default implementationMikhail Naganov2021-02-191-1/+1
| | | | | | | | | | | | The default implementation switched to use the "enums" module generated from the audio_policy_configuration.xsd schema. This drops the dependency on libxml2 library and reduces PSS and private dirty memory usage. Bug: 180413957 Test: atest VtsHalAudioV7_0TargetTest Change-Id: If7c110cd2bd2698923957b39906a0896d18065dd
* audio: Update common types to better match legacy structsMikhail Naganov2021-01-281-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | HAL V7 types were updated to better match data structure definitions from the legacy HAL: - Added 'AudioConfigBaseOptional' struct to match legacy structs that have 'mask' field to specify initialized fields. - All fields in 'AudioConfigBase' made mandatory. - Removed 'EffectConfigParameters' in favor of 'AudioConfigBaseOptional' and safe_unions. - Added missing enum string values to ensure that round-trip conversions from the legacy HAL to HIDL and back to legacy preserve enum values. Bug: 142480271 Test: atest android.hardware.audio.common@7.0-util_tests Test: atest VtsHalAudioV6_0TargetTest Test: atest VtsHalAudioV7_0TargetTest Test: atest VtsHalAudioEffectV7_0TargetTest Change-Id: If02a81b3f6790a8eb315fa57123141aad2419132
* audio: Update default effect HAL wrapper to support V7Mikhail Naganov2020-12-161-8/+8
| | | | | | | | | | | | | | | | During this conversion, the functionality of the V7 wrapper hasn't been tested yet. This will be done in a separate CL that will also include required updates to the VTS tests. Since the changes were made to the code shared with pre-V7 versions, verified that V6 HAL didn't regress. Bug: 142480271 Test: atest VtsHalAudioEffectV6_0TargetTest Test: m VtsHalAudioEffectV7_0TargetTest Test: m android.hardware.audio@7.0-service.example Change-Id: I72389c8d564596bef22b47dfdcb2e77d636ef0a3 Merged-In: I72389c8d564596bef22b47dfdcb2e77d636ef0a3
* Changing package for audio_policy_configuration_V7_0Hayden Gomes2020-12-041-2/+2
| | | | | | | | | | | | | - Changed package to use android. prefix - Added nullability flag to xsd_config Bug: 171572311 Test: built and atest VtsHalAudioEffectV7_0TargetTest VtsHalAudioEffectV7_0TargetTest VtsHalAudioEffectV4_0TargetTest VtsAidlHalAudioControlTest Change-Id: I9ac83a98256404313b5efef17c0a164d2ee72136 Merged-In: I9ac83a98256404313b5efef17c0a164d2ee72136
* audio: Add example HAL implementationMikhail Naganov2020-11-211-0/+224
This is partial implementation of the example V7.0 audio HAL which passes VTS tests. Note that the 'core' part of the HAL (IDevice/IStream) isn't implemented yet. It passes VTS because it doesn't provide any devices (modules) and the audio HAL isn't the 'default' instance. Bug: 142480271 Test: atest VtsHalAudioV7_0TargetTest atest VtsHalAudioEffectV7_0TargetTest Change-Id: Ie3dd62c5db1cdb5534df4dd7f326c4c8776bf3c4 Merged-In: Ie3dd62c5db1cdb5534df4dd7f326c4c8776bf3c4