sof
sof copied to clipboard
Tools: Topology2: Add enhanced audio capture development topologies
Example of sof-hda-efx-generic.tplg
Example of sof-hda-efx-generic-2ch.tplg
In HDA analog capture the beamformer are configured to always be in passthrough mode. User switch controls have no impact. A processing blob that enhances audio must be set up by ALSA UCM.
In DMIC 2ch the beamformer is set up for very small stereo opening angle for user focus. In DMIC 4ch the beamformer is always passthrough. UCM could be set up to apply beams for 3.0 or 3.1 format as 4ch but it's not yet available. There is also topology sof-hda-efx-generic-4to2ch.tplg that always converts to 2ch, beam off is channels 1 and 4 passthrough. Beam on is stereo beams with 4 mic.
In HDA analog capture the DRC is configured to passthrough. User switch controls have no impact. The ALSA UCM needs to apply a blob to get processing for notebook speaker mode.
In DMIC capture the DRC is set up to 10 dB soft amplification.
There is a small change done to every DMIC capture pipeline (using platform/intel/dmic-generic.-conf). The gain component is moved before module-copier. It ensures that every new pipeline connected to module-copier follows the mic mute keys control. See e.g. sof-hda-generic-2ch.tplg.