platform_hardware_interfaces/audio/aidl/default/usb
Mikhail Naganov a92039ac48 audio: Refactor configuration population
In 'Module::setAudioPortConfig' allow subclasses to provide
their own suggested configuration.

In 'Module::populateConnectedDevicePort' provide the ID of
the device port instance that will be created as a result
of connecting an external device.

Also, expose 'ModuleDebug' flags to subclasses so that they
can know when device connections are simulated.

Bug: 264712385
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Iceb2bdeb61c3470554b592fe197efa54d3b9e578
2023-12-20 14:31:47 -08:00
..
ModuleUsb.cpp audio: Refactor configuration population 2023-12-20 14:31:47 -08:00
StreamUsb.cpp AHAL: fix stack overflow when connecting usb device. 2023-09-12 23:11:16 +00:00
UsbAlsaMixerControl.cpp audio: Simplify and extend alsa::Mixer 2023-07-19 17:35:38 -07:00
UsbAlsaMixerControl.h audio: Move tinyALSA-specific code to Module/StreamAlsa 2023-07-13 11:24:52 -07:00