platform_hardware_interfaces/audio/aidl/default/alsa
Mikhail Naganov 5d2bfbac33 audio: Fix connection between alsa_device_profile and _proxy
alsa_device_proxy keeps a pointer to alsa_device_proxy,
but does not own it. Thus, the lifetime of the proxy must
be no less than of the proxy. In the legacy USB HAL impl
they were stored together (struct alsa_device_info).
Implement an equivalent class (DeviceProxy) in ALSA utils.

Bug: 264712385
Bug: 298712227
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I4e36701752afb3f35664b6f2ad1acda5719be1ea
2023-09-21 17:44:54 -07:00
..
Mixer.cpp audio: Simplify and extend alsa::Mixer 2023-07-19 17:35:38 -07:00
Mixer.h audio: Address comments from an internal review 2023-08-02 12:24:47 -07:00
ModuleAlsa.cpp audio: Fix connection between alsa_device_profile and _proxy 2023-09-21 17:44:54 -07:00
StreamAlsa.cpp audio: Fix connection between alsa_device_profile and _proxy 2023-09-21 17:44:54 -07:00
Utils.cpp audio: Fix connection between alsa_device_profile and _proxy 2023-09-21 17:44:54 -07:00
Utils.h audio: Fix connection between alsa_device_profile and _proxy 2023-09-21 17:44:54 -07:00